summaryrefslogtreecommitdiff
path: root/gitlab/v4/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/cli.py')
-rw-r--r--gitlab/v4/cli.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py
index b496669..90b6ba6 100644
--- a/gitlab/v4/cli.py
+++ b/gitlab/v4/cli.py
@@ -240,7 +240,18 @@ def _populate_sub_parser_by_class(
sub_parser_action.add_argument("--page", required=False, type=int)
sub_parser_action.add_argument("--per-page", required=False, type=int)
- sub_parser_action.add_argument("--all", required=False, action="store_true")
+ sub_parser_action.add_argument(
+ "--get-all",
+ required=False,
+ action="store_true",
+ help="Return all items from the server, without pagination.",
+ )
+ sub_parser_action.add_argument(
+ "--all",
+ required=False,
+ action="store_true",
+ help="Deprecated. Use --get-all instead.",
+ )
if action_name == "delete":
if cls._id_attr is not None: