mirror of
https://github.com/sheumann/hush.git
synced 2024-08-22 02:29:00 +00:00
make --help return exitcode 0. Closes 5612
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
5d1c599d76
commit
efd0698f74
@ -750,7 +750,7 @@ void FAST_FUNC run_applet_no_and_exit(int applet_no, char **argv)
|
|||||||
//TODO: just compare applet_no with APPLET_NO_test
|
//TODO: just compare applet_no with APPLET_NO_test
|
||||||
if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) {
|
if (!ENABLE_TEST || strcmp(applet_name, "test") != 0) {
|
||||||
/* If you want "foo --help" to return 0: */
|
/* If you want "foo --help" to return 0: */
|
||||||
/*xfunc_error_retval = 0;*/
|
xfunc_error_retval = 0;
|
||||||
bb_show_usage();
|
bb_show_usage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user