Skip to content

Commit

Permalink
Minor bugfix when printing CRAB help message (#4687)
Browse files Browse the repository at this point in the history
  • Loading branch information
emaszs authored Mar 31, 2017
1 parent 8338021 commit 0f1bc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/crab
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class CRABClient(object):
sub_cmd = next( v for k,v in self.subCommands.items() if args[0] in v.shortnames or args[0]==v.name)
except StopIteration:
print("'" + str(args[0]) + "' is not a valid command.")
print(self.parser.print_help())
self.parser.print_help()
sys.exit(-1)
self.cmd = sub_cmd(self.logger, args[1:])

Expand Down

0 comments on commit 0f1bc75

Please sign in to comment.