aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:34:18 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-02-28 12:34:18 +0100
commitefd0698f74caab0a0c8a51228b923ee142e8e278 (patch)
tree3faa66ef6d8b291b14eb1fa8d861490abfa15676 /libbb/appletlib.c
parent5d1c599d7611b6202190460ebc685e5fb1ae61ea (diff)
downloadbusybox-w32-efd0698f74caab0a0c8a51228b923ee142e8e278.tar.gz
busybox-w32-efd0698f74caab0a0c8a51228b923ee142e8e278.tar.bz2
busybox-w32-efd0698f74caab0a0c8a51228b923ee142e8e278.zip
make --help return exitcode 0. Closes 5612
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 67df44690..c22686e55 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -750,7 +750,7 @@ void FAST_FUNC run_applet_no_and_exit(int applet_no, char **argv)
750//TODO: just compare applet_no with APPLET_NO_test 750//TODO: just compare applet_no with APPLET_NO_test
751 if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) { 751 if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) {
752 /* If you want "foo --help" to return 0: */ 752 /* If you want "foo --help" to return 0: */
753 /*xfunc_error_retval = 0;*/ 753 xfunc_error_retval = 0;
754 bb_show_usage(); 754 bb_show_usage();
755 } 755 }
756 } 756 }