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

Denys Vlasenko vda.linux at googlemail.com
Wed Sep 3 15:13:02 UTC 2014


$ /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


More information about the busybox mailing list