From 5caad7a5b8c3e88d0fd07a76b7ebedfa9106e688 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Fri, 11 Oct 2013 16:36:15 -0600 Subject: [PATCH] Cosmetic adjustment to add some color to the output of sys.doc. --- salt/cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/cli/__init__.py b/salt/cli/__init__.py index 8fb82a0568..044dde6d63 100644 --- a/salt/cli/__init__.py +++ b/salt/cli/__init__.py @@ -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('')