From 98970326fb2f08e684cfc856103b2f9110c9f4fb Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Wed, 30 Sep 2015 05:38:32 +0000 Subject: [PATCH] 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 --- scripts/yocto-bsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3