Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netdb-client-lib
Commits
1eeec8a2
Commit
1eeec8a2
authored
Sep 23, 2020
by
janis.streib
🦉
Browse files
UPD: make token required
parent
1bad2948
Changes
1
Show whitespace changes
Inline
Side-by-side
netdb_client/util.py
View file @
1eeec8a2
...
...
@@ -12,7 +12,7 @@ class ArgumentParser(argparse.ArgumentParser):
super
(
ArgumentParser
,
self
).
__init__
(
formatter_class
=
formatter_class
,
**
kwargs
)
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment