From 34425389e09353a8dacdd6b23a62553f699c544c Mon Sep 17 00:00:00 2001 From: Pere Orga Date: Thu, 31 Mar 2011 14:43:25 +0200 Subject: move help text from include/usage.src.h to coreutils/*.c Signed-off-by: Pere Orga Signed-off-by: Denys Vlasenko --- coreutils/uname.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'coreutils/uname.c') diff --git a/coreutils/uname.c b/coreutils/uname.c index d1c50e222..7a86b32a6 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -48,6 +48,23 @@ * Fix handling of -a to not print "unknown", add -o and -i support. */ +//usage:#define uname_trivial_usage +//usage: "[-amnrspv]" +//usage:#define uname_full_usage "\n\n" +//usage: "Print system information\n" +//usage: "\nOptions:" +//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 -p Processor type" +//usage: "\n -v OS version" +//usage: +//usage:#define uname_example_usage +//usage: "$ uname -a\n" +//usage: "Linux debian 2.4.23 #2 Tue Dec 23 17:09:10 MST 2003 i686 GNU/Linux\n" + #include "libbb.h" /* After libbb.h, since it needs sys/types.h on some systems */ #include -- cgit v1.2.3