mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Fix behavior for bad nodelicense arguments
Correctly show help and exit if unrecognized parameter.
This commit is contained in:
parent
44929e7975
commit
00ce48b046
@ -51,7 +51,8 @@ try:
|
||||
elif args[1] == 'delete':
|
||||
delete = args[2]
|
||||
else:
|
||||
components = ['all']
|
||||
argparser.print_help()
|
||||
sys.exit(1)
|
||||
except IndexError:
|
||||
argparser.print_help()
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user