mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #7771 from cachedout/develop
Adding some color to sys.doc
This commit is contained in:
commit
336ebcc2f2
@ -177,7 +177,7 @@ class SaltCMD(parsers.SaltCMDOptionParser):
|
||||
if ret[host][fun]:
|
||||
docs[fun] = ret[host][fun]
|
||||
for fun in sorted(docs):
|
||||
print(fun + ':')
|
||||
salt.output.display_output(fun + ':', 'text', self.config)
|
||||
print(docs[fun])
|
||||
print('')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user