code: def print_docs(self):
          '''
          Pick up the documentation for all of the modules and print it out.
          '''
          docs = {}
          for name, func in six.iteritems(self.minion.functions):
              if name not in docs:
                  if func.__doc__:
                      docs[name] = func.__doc__
          for name in sorted(docs):
              if name.startswith(self.opts.get('fun', '')):
                  salt.utils.stringutils.print_cli('{0}:\n{1}\n'.format(name, docs[name])f print_docs(self):
          '''
          Pick up the documentation for all of the modules and print it out.
          '''
          docs = {}
          for name, func in six.iteritems(self.minion.functions):
              if name not in docs:
                  if func.__doc__:
                      docs[name] = func.__doc__
          for name in sorted(docs):
              if name.startswith(self.opts.get('fun', '')):
                  salt.utils.stringutils.print_cli('{0}:\n{1}\n'.format(name, docs[name]))
docs: Pick up the documentation for all of the modules and print it out.