Skip to content
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

Man pages are out of date. #36

Open
calebcase opened this issue Aug 29, 2013 · 0 comments
Open

Man pages are out of date. #36

calebcase opened this issue Aug 29, 2013 · 0 comments

Comments

@calebcase
Copy link

From man salt-cloud:

       --raw-out
              Print the output from the salt command in raw python form, this is suitable for re-reading the output into an executing python script with eval.

       --text-out
              Print the output from the salt command in the same form the shell would.

       --yaml-out
              Print the output from the salt command in yaml.

       --json-out
              Print the output from the salt command in json.

       --no-color
              Disable all colored output.

But salt-cloud -Q --json-out fails:

$ salt-cloud -Q --json-out
Usage: salt-cloud

salt-cloud: error: no such option: --json-out

From salt-cloud -h:

  Output Options:
    Configure your preferred output format

    --out=OUTPUT, --output=OUTPUT
                        Print the output from the 'salt-cloud' command using
                        the specified outputter. The builtins are 'no_return',
                        'grains', 'yaml', 'overstatestage', 'json', 'pprint',
                        'nested', 'raw', 'highstate', 'quiet', 'key', 'txt',
                        'virt_query'.
    --out-indent=OUTPUT_INDENT, --output-indent=OUTPUT_INDENT
                        Print the output indented by the provided value in
                        spaces. Negative values disables indentation. Only
                        applicable in outputters that support indentation.
    --no-color, --no-colour
                        Disable all colored output

--out=json does work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant