mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
change salt-call manpage with outputter option
This commit is contained in:
parent
e9f7f5dc2c
commit
66716492d0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user