summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r--gitlab/cli.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py
index f06f49d..cad6b6f 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -106,7 +106,9 @@ def cls_to_what(cls: RESTObject) -> str:
def _get_base_parser(add_help: bool = True) -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
- add_help=add_help, description="GitLab API Command Line Interface"
+ add_help=add_help,
+ description="GitLab API Command Line Interface",
+ allow_abbrev=False,
)
parser.add_argument("--version", help="Display the version.", action="store_true")
parser.add_argument(