mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add --raw-shell option to salt-ssh
This commit is contained in:
parent
09365c0e82
commit
ca45fed7d2
@ -1508,12 +1508,12 @@ class SaltSSHOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn,
|
||||
|
||||
def _mixin_setup(self):
|
||||
self.add_option(
|
||||
'-d', '--doc', '--documentation',
|
||||
dest='doc',
|
||||
'-r', '--raw', '--raw-shell',
|
||||
dest='raw_shell',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help=('Display documentation for runners, pass a module or a '
|
||||
'runner to see documentation on only that module/runner.')
|
||||
help=('Don\'t execute a salt routine on the targets, execute a '
|
||||
'raw shell command')
|
||||
)
|
||||
|
||||
def _mixin_after_parsed(self):
|
||||
|
Loading…
Reference in New Issue
Block a user