summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-06-22 10:16:20 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2013-06-22 10:16:20 +0200
commit079c107bd36620d9751299843d113df47fd592a7 (patch)
tree8f7eec35ac6c9ad1bdca68762d0274d93cb3e730 /gitlab
parent7e7b29c02cc8a1015fb56a7dac6488cf24873922 (diff)
downloadgitlab-079c107bd36620d9751299843d113df47fd592a7.tar.gz
listing: list the --page and --per-page options
Diffstat (limited to 'gitlab')
-rwxr-xr-xgitlab3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitlab b/gitlab
index 7101916..c5b8f63 100755
--- a/gitlab
+++ b/gitlab
@@ -55,6 +55,9 @@ def actionHelpList(cls):
detail = ''
if action == 'list':
detail = " ".join(["--%s=ARG" % x.replace('_', '-') for x in cls.requiredListAttrs])
+ if detail:
+ detail += " "
+ detail += "--page=ARG --per-page=ARG"
elif action in ['get', 'delete']:
detail = "--id=ARG "
detail += " ".join(["--%s=ARG" % x.replace('_', '-') for x in cls.requiredGetAttrs])