Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd68cacf

Browse files
fix(cli): changed defaultallow_abbrev value to fix arguments collision problem (#2013)
fix(cli): change default `allow_abbrev` value to fix argument collision
1 parent9e64645 commitd68cacf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎gitlab/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ def cls_to_what(cls: RESTObject) -> str:
106106

107107
def_get_base_parser(add_help:bool=True)->argparse.ArgumentParser:
108108
parser=argparse.ArgumentParser(
109-
add_help=add_help,description="GitLab API Command Line Interface"
109+
add_help=add_help,
110+
description="GitLab API Command Line Interface",
111+
allow_abbrev=False,
110112
)
111113
parser.add_argument("--version",help="Display the version.",action="store_true")
112114
parser.add_argument(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp