From 6f54fa277d411961fca37e03d3a08ab8e0d7575f Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 13 Nov 2013 14:32:38 +0000 Subject: scripts/create-recipe: fix handling of --help If --help is specified as the first argument, show the standard help text instead of trying to process it as a URL. (From OE-Core rev: abb139b10c3f431bcebb1847621f97d7ec6249ce) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- scripts/create-recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create-recipe b/scripts/create-recipe index 5613e92cb9..b192990080 100755 --- a/scripts/create-recipe +++ b/scripts/create-recipe @@ -1794,7 +1794,7 @@ sub calculate_sums # Main program # -if ( @ARGV < 1 ) { +if ( @ARGV < 1 || $ARGV[0] eq "--help" ) { print "Usage: $0 [-r] \n"; exit(1); } -- cgit v1.2.3-54-g00ecf