mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add --out-file/--output-file
output option. Refs saltstack/salt-cloud#713.
This commit is contained in:
parent
dbe1acf622
commit
f7f565c82b
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user