Correct envvar in help text

This commit is contained in:
Midgard 2021-06-02 11:11:34 +02:00
parent 9d664a9ff1
commit d8f1538d68
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -322,7 +322,7 @@ Hint: JSON output can be filtered on the command line with jq(1).
argparser.add_argument( argparser.add_argument(
"--server", "--server",
help="e.g.: mattermost.example.org; example.org/mattermost; envvar: {ENVVAR_SERVER}", help=f"e.g.: mattermost.example.org; example.org/mattermost; envvar: {ENVVAR_SERVER}",
default=os.getenv(ENVVAR_SERVER)) default=os.getenv(ENVVAR_SERVER))
subparsers = argparser.add_subparsers(title="actions", dest="action", required=True) subparsers = argparser.add_subparsers(title="actions", dest="action", required=True)