2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-12 18:59:06 +00:00

Complain if not enough args

This commit is contained in:
Amanda Duffy 2017-04-20 14:30:33 -04:00
parent ec90ef889b
commit 27294103cf

View File

@ -37,6 +37,9 @@ except IndexError:
identifystate = None
if len(sys.argv) > 2:
identifystate = sys.argv[2]
else:
argparser.print_help()
sys.exit(1)
session = client.Command()
exitcode = 0
sys.exit(