mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge pull request #42787 from skizunov/develop5
Add --skip-grains option to salt-run
This commit is contained in:
commit
31701bd34d
@ -2790,6 +2790,12 @@ class SaltRunOptionParser(six.with_metaclass(OptionParserMeta,
|
||||
action='store_true',
|
||||
help=('Start the runner operation and immediately return control.')
|
||||
)
|
||||
self.add_option(
|
||||
'--skip-grains',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help=('Do not load grains.')
|
||||
)
|
||||
group = self.output_options_group = optparse.OptionGroup(
|
||||
self, 'Output Options', 'Configure your preferred output format.'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user