The return from sys.doc is sorted now

This commit is contained in:
Thomas S Hatch 2011-03-15 10:56:08 -06:00
parent d75f9500af
commit ab1b960ff8

View file

@ -115,7 +115,7 @@ class SaltCMD(object):
if not docs.has_key(fun):
if ret[host][fun]:
docs[fun] = ret[host][fun]
for fun in docs:
for fun in sorted(docs):
print fun + ':'
print docs[fun]
print ''