Gitlab Community Edition Instance

Commit 61d82eee authored by Marcel Hellkamp's avatar Marcel Hellkamp
Browse files

CLI help tweaks

parent f6e5d308
......@@ -12,13 +12,13 @@ __ALL__ = ["main", "printer"]
parser = argparse.ArgumentParser(prog="pycdstar3")
parser.add_argument("--server", metavar="URI",
help="CDSTAR server URI (e.g. https://example.com/v3/). Required for most commands.")
help="CDSTAR server URI. Defaults to CDSTAR_SERVER environment variable or workspace settings.")
parser.add_argument("--vault", metavar="NAME",
help="Vault to work with. required for most commands.")
parser.add_argument("--version", action="store_true", help="Print version and exit")
help="Vault to work with. Defaults to CDSTAR_VAULT environment variable or workspace settings.")
parser.add_argument("--version", action="store_true", help="Print version and exit.")
_grp = parser.add_mutually_exclusive_group()
_grp.add_argument("-v", "--verbose", action="count", default=0,
help="Print more info. Repeat to increase verbosity")
help="Print more info. Repeat to increase verbosity.")
_grp.add_argument("-q", "--quiet", action="store_true", help="Be quiet. Only print errors.")
subparsers = parser.add_subparsers(title="available commands",
description='Run "COMAMND -h" to get help for a specific command.',
......
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