aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uname.c
diff options
context:
space:
mode:
authorbeppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 17:49:44 +0000
committerbeppu <beppu@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 17:49:44 +0000
commit97780a33efddca3c7ffba155c48c4cf634cc8d41 (patch)
tree821da011406dde39fac4076ae8b50feca17783b8 /coreutils/uname.c
parent277eff7b1de0ec9bbbf1970117686782e7259e99 (diff)
downloadbusybox-w32-97780a33efddca3c7ffba155c48c4cf634cc8d41.tar.gz
busybox-w32-97780a33efddca3c7ffba155c48c4cf634cc8d41.tar.bz2
busybox-w32-97780a33efddca3c7ffba155c48c4cf634cc8d41.zip
- grep -v ^\.PHONY < Makefile
+ busybox.def.h BB_FEATURE_TRIVIAL_HELP + uname.c has an example of how BB_FEATURE_TRIVIAL_HELP is to be applied. git-svn-id: svn://busybox.net/trunk/busybox@471 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r--coreutils/uname.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index 9a1cb808a..f1304925d 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -43,6 +43,7 @@
43 43
44static const char uname_usage[] = 44static const char uname_usage[] =
45 "uname [OPTION]...\n\n" 45 "uname [OPTION]...\n\n"
46#ifndef BB_FEATURE_TRIVIAL_HELP
46 "Print certain system information. With no OPTION, same as -s.\n\n" 47 "Print certain system information. With no OPTION, same as -s.\n\n"
47 "Options:\n" 48 "Options:\n"
48 "\t-a\tprint all information\n" 49 "\t-a\tprint all information\n"
@@ -52,7 +53,9 @@ static const char uname_usage[] =
52 "\t-s\tprint the operating system name\n" 53 "\t-s\tprint the operating system name\n"
53 54
54 "\t-p\tprint the host processor type\n" 55 "\t-p\tprint the host processor type\n"
55 "\t-v\tprint the operating system version\n"; 56 "\t-v\tprint the operating system version\n"
57#endif
58 ;
56 59
57 60
58static void print_element(unsigned int mask, char *element); 61static void print_element(unsigned int mask, char *element);