diff options
author | xarx00 <xarx@sms.cz> | 2019-03-04 15:15:51 +0100 |
---|---|---|
committer | Max Wittig <max.wittig95@gmail.com> | 2019-07-21 18:53:34 +0200 |
commit | 8d1552a0ad137ca5e14fabfc75f7ca034c2a78ca (patch) | |
tree | f0f3894ae8f72b157cc05708884de9ee1e846619 /gitlab/cli.py | |
parent | 8306ef21be731336c9706c9908133cfcb3b6a5f4 (diff) | |
download | gitlab-8d1552a0ad137ca5e14fabfc75f7ca034c2a78ca.tar.gz |
fix(cli): don't fail when the short print attr value is None
Fixes #717
Fixes #727
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r-- | gitlab/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py index 0433a81..01d8851 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -182,7 +182,7 @@ def main(): if args.fields: fields = [x.strip() for x in args.fields.split(",")] debug = args.debug - action = args.action + action = args.whaction what = args.what args = args.__dict__ @@ -193,7 +193,7 @@ def main(): "verbose", "debug", "what", - "action", + "whaction", "version", "output", ): |