aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-31 00:28:42 -0500
committerMike Frysinger <vapier@gentoo.org>2014-01-31 00:28:42 -0500
commit29ed580668865d68ab8c1020bf3a79e2f2ceaa55 (patch)
treed0f0210b0f971c932ebec0eea8703d4a010d1df1
parent922fdf65273f3047c1f60edee6af555cea1dd499 (diff)
downloadbusybox-29ed580668865d68ab8c1020bf3a79e2f2ceaa55.tar.gz
uname: fix up usage documentation
The -i/-o options were missing, and the -r/-s/-v options were incorrectly labeled as "OS" instead of "kernel". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--coreutils/uname.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index b96d76b6c..1c6aa5f79 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -49,16 +49,18 @@
*/
//usage:#define uname_trivial_usage
-//usage: "[-amnrspv]"
+//usage: "[-amnrspvio]"
//usage:#define uname_full_usage "\n\n"
//usage: "Print system information\n"
//usage: "\n -a Print all"
//usage: "\n -m The machine (hardware) type"
//usage: "\n -n Hostname"
-//usage: "\n -r OS release"
-//usage: "\n -s OS name (default)"
+//usage: "\n -r Kernel release"
+//usage: "\n -s Kernel name (default)"
//usage: "\n -p Processor type"
-//usage: "\n -v OS version"
+//usage: "\n -v Kernel version"
+//usage: "\n -i The hardware platform"
+//usage: "\n -o OS name"
//usage:
//usage:#define uname_example_usage
//usage: "$ uname -a\n"