mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Simple fixes for the salt-call docs sequence
This commit is contained in:
parent
0df3b8ab8a
commit
29d0356e49
@ -415,7 +415,7 @@ class SaltCall(object):
|
||||
opts['arg'] = args[1:]
|
||||
else:
|
||||
opts['fun'] = ''
|
||||
opts['args'] = []
|
||||
opts['arg'] = []
|
||||
|
||||
return opts
|
||||
|
||||
|
@ -33,8 +33,7 @@ class Caller(object):
|
||||
'''
|
||||
Pick up the documentation for all of the modules and print it out.
|
||||
'''
|
||||
funcs = loader.minion_mods(self.opts)
|
||||
ret = funcs['sys.doc'](*self.opts['arg'])
|
||||
ret = self.loader.call('sys.doc', self.opts['arg'])
|
||||
docs = {}
|
||||
for host in ret:
|
||||
for fun in ret[host]:
|
||||
|
Loading…
Reference in New Issue
Block a user