From b355a5e00ea141cdde980cb5bfbecba537e89b11 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Wed, 30 Sep 2015 05:38:32 +0000 Subject: 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 Signed-off-by: Richard Purdie --- scripts/yocto-bsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/yocto-bsp') diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp index d269861769..2d9453fbe8 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) -- cgit v1.2.3-54-g00ecf