mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make functions without doc strings not print docs
This commit is contained in:
parent
04893c3bee
commit
14cb85bb50
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ class SaltCMD(object):
|
|||
for host in ret:
|
||||
for fun in ret[host]:
|
||||
if not docs.has_key(fun):
|
||||
docs[fun] = ret[host][fun]
|
||||
if ret[host][fun]
|
||||
docs[fun] = ret[host][fun]
|
||||
for fun in docs:
|
||||
print fun
|
||||
print docs[fun]
|
||||
|
|
Loading…
Add table
Reference in a new issue