Skip to content

Commit

Permalink
Merge pull request #2055 from python-gitlab/jlvillal/resource
Browse files Browse the repository at this point in the history
chore(cli): rename "object" to "GitLab resource"
  • Loading branch information
nejch committed Jun 5, 2022
2 parents 40c9b4f + 62e64a6 commit 0e3c461
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gitlab/v4/cli.py
Expand Up @@ -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

Expand Down

0 comments on commit 0e3c461

Please sign in to comment.