scripts/yocto-bsp: Exit successfully when asking for help

When user asks for help, the command should not exit with non-zero
status (failure), so removing the non-zero value on the system exit call.

(From meta-yocto rev: 98970326fb2f08e684cfc856103b2f9110c9f4fb)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Leonardo Sandoval 2015-09-30 05:38:32 +00:00 committed by Richard Purdie
parent ad9ee3d76b
commit b355a5e00e
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def main():
if args[0] == "help":
if len(args) == 1:
parser.print_help()
sys.exit(1)
sys.exit()
invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)