summaryrefslogtreecommitdiff
path: root/gitlab/v4/cli.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-06-05 14:20:10 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-06-05 14:20:10 -0700
commit62e64a66dab4b3704d80d19a5dbc68b025b18e3c (patch)
tree772ea9a6e7a84e1e65ad527fc8105084bcf12288 /gitlab/v4/cli.py
parent40c9b4f299d3c101bda7fabc89a42ff0f1f0ddc2 (diff)
downloadgitlab-62e64a66dab4b3704d80d19a5dbc68b025b18e3c.tar.gz
chore(cli): rename "object" to "GitLab resource"
Make the parser name more user friendly by renaming from generic "object" to "GitLab resource"
Diffstat (limited to 'gitlab/v4/cli.py')
-rw-r--r--gitlab/v4/cli.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py
index dac6ede..2b0d4ce 100644
--- a/gitlab/v4/cli.py
+++ b/gitlab/v4/cli.py
@@ -337,7 +337,9 @@ def _populate_sub_parser_by_class(
def extend_parser(parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
subparsers = parser.add_subparsers(
- title="object", dest="gitlab_resource", help="Object to manipulate."
+ title="resource",
+ dest="gitlab_resource",
+ help="The GitLab resource to manipulate.",
)
subparsers.required = True