summaryrefslogtreecommitdiff
path: root/gitlab/v4/cli.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-03-11 08:36:02 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2018-03-11 08:36:02 +0100
commit7c6be94630d35793e58fafd38625c29779f7a09a (patch)
treed53000c12d51542b9771476bbf775ea1241c5773 /gitlab/v4/cli.py
parentd35a31d1268c6c8edb9f8b8322c5c66cb70ea9ae (diff)
downloadgitlab-7c6be94630d35793e58fafd38625c29779f7a09a.tar.gz
[cli] Restore the --help option behavior
Fixes #381
Diffstat (limited to 'gitlab/v4/cli.py')
-rw-r--r--gitlab/v4/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py
index cd513f0..e6f3351 100644
--- a/gitlab/v4/cli.py
+++ b/gitlab/v4/cli.py
@@ -240,7 +240,7 @@ def extend_parser(parser):
arg_name = cli.cls_to_what(cls)
object_group = subparsers.add_parser(arg_name)
- object_subparsers = object_group.add_subparsers(
+ object_subparsers = object_group.add_subparsers(title='action',
dest='action', help="Action to execute.")
_populate_sub_parser_by_class(cls, object_subparsers)
object_subparsers.required = True