From d549d5895f907526d07e85c1c229b2b43504a426 Mon Sep 17 00:00:00 2001 From: "klimenko.as" Date: Thu, 31 Mar 2022 12:20:04 +0300 Subject: [PATCH] fix (cli): Changed default `allow_abbrev` value to fix arguments collision problem --- gitlab/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/cli.py b/gitlab/cli.py index f06f49d94..d95d87fce 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -106,7 +106,7 @@ 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(