commit | efd0698f74caab0a0c8a51228b923ee142e8e278 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 28 12:34:18 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Feb 28 12:34:18 2013 +0100 |
tree | 3faa66ef6d8b291b14eb1fa8d861490abfa15676 | |
parent | 5d1c599d7611b6202190460ebc685e5fb1ae61ea [diff] [blame] |
make --help return exitcode 0. Closes 5612 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 67df446..c22686e 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c
@@ -750,7 +750,7 @@ //TODO: just compare applet_no with APPLET_NO_test if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) { /* If you want "foo --help" to return 0: */ - /*xfunc_error_retval = 0;*/ + xfunc_error_retval = 0; bb_show_usage(); } }