Commit a3c9eb3f authored by Dominik Rimpf's avatar Dominik Rimpf
Browse files

DOC: updated readme

parent 64507cba
Pipeline #119276 passed with stage
in 24 seconds
......@@ -39,8 +39,7 @@ Variable precendence is as followed (from greatest to least, means the first sou
```
Example help (`h` / `--help`) output:
```
usage: test2.py [-h] [--auth-config AUTH_CONFIG] [--base-url BASE_URL]
[--version VERSION] [--token TOKEN]
usage: test.py [-h] [--auth-config AUTH_CONFIG] [--endpoint ENDPOINT] [--base-url BASE_URL] [--version VERSION] [--token TOKEN]
Argument Parser for netdb_client
......@@ -48,10 +47,14 @@ optional arguments:
-h, --help show this help message and exit
--auth-config AUTH_CONFIG
config file path (default: /Users/dominik/.config/netdb_client.ini)
--endpoint ENDPOINT, -e ENDPOINT
endpoint to use.
Environment: "NETDB_ENDPOINT"
Config: [DEFAULT]: endpoint
--base-url BASE_URL, -b BASE_URL
webapi server.
Environment: "NETDB_BASE_URL"
Config: [DEFAULT]: endpoint
Config: [$endpoint]: base_url
--version VERSION webapi version.
Environment: "NETDB_VERSION"
Config: [$endpoint]: 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