change salt-call manpage with outputter option

This commit is contained in:
Thomas S Hatch 2012-12-14 06:20:22 -07:00
parent e9f7f5dc2c
commit 66716492d0

View File

@ -44,24 +44,17 @@ Options
``trace``, ``warning``, ``error``, ``debug``. For the logfile
settings see the config file. Default: ``info``.
.. option:: --raw-out
.. option:: --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.
.. option:: --text-out
Print the output from the salt command in the same
form the shell would.
.. option:: --yaml-out
Print the output from the salt command in YAML.
.. option:: --json-out
Print the output from the salt command in JSON.
Pass in an alternative outputter to display the return of data. This
outputter can be any of the available outputters:
grains, highstate, json, key, overstatestage, pprint, raw, txt, yaml
Some outputters are formatted only for data returned from specific
functions, for instance the grains outputter will not work for non grains
data.
If an outputter is used that does not support the data passed into it, then
Salt will fall back on the pprint outputter and display the return data
using the python pprint library.
.. option:: --no-color