From: Leonardo Sandoval Date: Wed, 30 Sep 2015 05:38:32 +0000 (+0000) Subject: scripts/yocto-bsp: Exit successfully when asking for help X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=98970326fb2f08e684cfc856103b2f9110c9f4fb;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Leonardo Sandoval Signed-off-by: Richard Purdie --- diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp index d2698617690..2d9453fbe8f 100755 --- a/scripts/yocto-bsp +++ b/scripts/yocto-bsp @@ -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)