Commit 1eeec8a2 authored by janis.streib's avatar janis.streib 🦉
Browse files

UPD: make token required

parent 1bad2948
......@@ -12,7 +12,7 @@ class ArgumentParser(argparse.ArgumentParser):
super(ArgumentParser, self).__init__(formatter_class=formatter_class,
self.add_argument('--token', '-t',
help='user API token')
help='user API token', required=True)
self.add_argument('--server', '-s', default=server,
help='webapi server')
self.add_argument('--api-version', default=api_version,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment