'Returns the documentation for a specified command name
Used by __qsh__ to provide online help.'

def cmd_doc(self, name):

    if (name in self.commands):
        return self.doc(name)
    else:
        raise CommandError(('No    such    command:    %s' % name))
