Add --out-file/--output-file output option. Refs saltstack/salt-cloud#713.

This commit is contained in:
Pedro Algarvio 2013-08-09 20:44:02 +01:00
parent dbe1acf622
commit f7f565c82b

View File

@ -800,6 +800,12 @@ class OutputOptionsMixIn(object):
'Negative values disables indentation. Only applicable in ' 'Negative values disables indentation. Only applicable in '
'outputters that support indentation.') 'outputters that support indentation.')
) )
group.add_option(
'--out-file', '--output-file',
dest='output_file',
default=None,
help='Write the output to the specified file'
)
group.add_option( group.add_option(
'--no-color', '--no-colour', '--no-color', '--no-colour',
default=False, default=False,