Merge pull request #7771 from cachedout/develop

Adding some color to sys.doc
This commit is contained in:
Thomas S Hatch 2013-10-11 18:41:39 -07:00
commit 336ebcc2f2

View File

@ -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('')