summaryrefslogtreecommitdiff
path: root/coreutils/false.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-04-21 16:00:41 +0200
committerDenys Vlasenko2015-04-21 16:00:41 +0200
commitde5edadee2dca2896492f97ab3a56e389305e74d (patch)
tree80cdba9f7822f0ca9996dd1b5ceef0607c069c5d /coreutils/false.c
parent7d86384b246434e72533332f7f409a7aa9efeacb (diff)
downloadbusybox-de5edadee2dca2896492f97ab3a56e389305e74d.zip
busybox-de5edadee2dca2896492f97ab3a56e389305e74d.tar.gz
special-case {true,false,test} --help
This also removes their help texts. function old new delta run_applet_no_and_exit 442 452 +10 packed_usage 30713 30625 -88 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/false.c')
-rw-r--r--coreutils/false.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/coreutils/false.c b/coreutils/false.c
index 59c2f32..0591a6c 100644
--- a/coreutils/false.c
+++ b/coreutils/false.c
@@ -10,11 +10,9 @@
/* BB_AUDIT SUSv3 compliant */
/* http://www.opengroup.org/onlinepubs/000095399/utilities/false.html */
-//usage:#define false_trivial_usage
-//usage: ""
-//usage:#define false_full_usage "\n\n"
-//usage: "Return an exit code of FALSE (1)"
-//usage:
+/* "false --help" is special-cased to ignore --help */
+//usage:#define false_trivial_usage NOUSAGE_STR
+//usage:#define false_full_usage ""
//usage:#define false_example_usage
//usage: "$ false\n"
//usage: "$ echo $?\n"