[Bug: Busybox 1.22.1] false return 0 instead of 1 with '--help' switch.

Xabier Oneca -- xOneca xoneca at gmail.com
Fri Sep 5 16:22:50 UTC 2014


Hello again,

2014-09-05 18:19 GMT+02:00 Xabier Oneca  --  xOneca <xoneca at gmail.com>:
> Hello list,
>
> I want to highlight what GNU coreutils' help docs (info coreutils
> 'false invocation') says about false when invoked with --help:
>
>> Note that `false' (unlike all other programs documented herein)
> exits unsuccessfully, even when invoked with `--help' or `--version'.
>
> I think Busybox should do the same with the applet.

And I want to add that --help will only be used ever in an interactive
shell by a person, so the return value may be dispensable. (i.e.
doesn't mind to the user how does --help return as soon as the help
text is printed in screen)

Cheers,

Xabier Oneca_,,_


More information about the busybox mailing list