diff --git a/doc/ref/cli/salt-call.rst b/doc/ref/cli/salt-call.rst index 0c325ac794..8eb0aba87b 100644 --- a/doc/ref/cli/salt-call.rst +++ b/doc/ref/cli/salt-call.rst @@ -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