summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorJohn Beppu2000-04-17 17:49:44 +0000
committerJohn Beppu2000-04-17 17:49:44 +0000
commit91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81 (patch)
tree821da011406dde39fac4076ae8b50feca17783b8 /coreutils
parent5a50def0f4f7265f74a51995852e95851f06f2a1 (diff)
downloadbusybox-91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81.zip
busybox-91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81.tar.gz
- 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.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/uname.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c
index 9a1cb80..f130492 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -43,6 +43,7 @@
static const char uname_usage[] =
"uname [OPTION]...\n\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
"Print certain system information. With no OPTION, same as -s.\n\n"
"Options:\n"
"\t-a\tprint all information\n"
@@ -52,7 +53,9 @@ static const char uname_usage[] =
"\t-s\tprint the operating system name\n"
"\t-p\tprint the host processor type\n"
- "\t-v\tprint the operating system version\n";
+ "\t-v\tprint the operating system version\n"
+#endif
+ ;
static void print_element(unsigned int mask, char *element);