API client: add default host
This commit is contained in:
parent
fcdbf515e9
commit
97705834fd
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ def setup_argparse():
|
|||
parser.add_argument('--creds',
|
||||
help=("Fichier contenant le token API à utiliser "
|
||||
"(par défaut, `{}`)".format(TOKEN_DFT_FILE)))
|
||||
parser.set_defaults(creds=TOKEN_DFT_FILE)
|
||||
parser.set_defaults(creds=TOKEN_DFT_FILE, host=DFT_HOST)
|
||||
subparsers = parser.add_subparsers()
|
||||
|
||||
parser_publish = subparsers.add_parser('publier',
|
||||
|
|
Loading…
Reference in a new issue