[Bug: Busybox 1.22.1] false return 0 instead of 1 with '--help' switch.
Joshua Judson Rosen
jrosen at harvestai.com
Fri Sep 5 16:33:41 UTC 2014
i.e.: GNU "false --help" `fails', just like in POSIX and in Busybox's `other
false' (the builtin "false"/falsecmd() in ash).
So can we just fix it? What did you think of the patch that I sent?
On 2014-09-03 11:13, Denys Vlasenko wrote:
> $ /bin/false --version
> false (GNU coreutils) 8.7
> ...
>
> $ /bin/false --help; echo $?
> Usage: /bin/false [ignored command line arguments]
> or: /bin/false OPTION
> Exit with a status code indicating failure.
>
> --help display this help and exit
> --version output version information and exit
>
> NOTE: your shell may have its own version of false, which usually supersedes
> the version described here. Please refer to your shell's documentation
> for details about the options it supports.
>
> Report false bugs to bug-coreutils at gnu.org
> GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
> General help using GNU software: <http://www.gnu.org/gethelp/>
> Report false translation bugs to <http://translationproject.org/team/>
> For complete documentation, run: info coreutils 'false invocation'
> 1
>
--
"'tis an ill wind that blows no minds."
More information about the busybox
mailing list