Skip to content

gitlab --help doesn't list objects #455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mattiasb opened this issue Mar 9, 2018 · 3 comments
Closed

gitlab --help doesn't list objects #455

mattiasb opened this issue Mar 9, 2018 · 3 comments

Comments

@mattiasb
Copy link

mattiasb commented Mar 9, 2018

From the manual:

Use the --help option to list the available object types and actions:
  $ gitlab --help
  $ gitlab project --help

In reality:

$ gitlab --version
1.3.0
 $ gitlab --help
usage: gitlab [-h] [--version] [-v] [-d] [-c CONFIG_FILE] [-g GITLAB]
              [-o {json,legacy,yaml}] [-f FIELDS]

GitLab API Command Line Interface

optional arguments:
  -h, --help            show this help message and exit
  --version             Display the version.
  -v, --verbose, --fancy
                        Verbose mode (legacy format only)
  -d, --debug           Debug mode (display HTTP requests)
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Configuration file to use. Can be used multiple times.
  -g GITLAB, --gitlab GITLAB
                        Which configuration section should be used. If not
                        defined, the default selection will be used.
  -o {json,legacy,yaml}, --output {json,legacy,yaml}
                        Output format (v4 only): json|legacy|yaml
  -f FIELDS, --fields FIELDS
                        Fields to display in the output (comma separated). Not
                        used with legacy output

In short, I would like to find out what commands I can run! :)

@mattiasb
Copy link
Author

mattiasb commented Mar 9, 2018

I just found out that you get the list of objects when you omit the --help flag. So just running gitlab works fine.

@gpocentek
Copy link
Contributor

HI @mattiasb,

This problem has already been reported in #381.

@mattiasb
Copy link
Author

mattiasb commented Mar 9, 2018

Sorry! :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants