@command<EOL><INDENT>def do_man(self, args, arguments):<DEDENT>
if arguments['<STR_LIT>'] is None:<EOL><INDENT>print()<EOL>print("<STR_LIT>")<EOL>print(<NUM_LIT> * "<STR_LIT:=>")<EOL>commands = [k for k in dir(self) if k.startswith("<STR_LIT>")]<EOL>commands.sort()<EOL><DEDENT>else:<EOL><INDENT>print(arguments)<EOL>commands = [arguments['<STR_LIT>']]<EOL><DEDENT>for command in commands:<EOL><INDENT>what = command.replace("<STR_LIT>", "<STR_LIT>")<EOL>try:<EOL><INDENT>if not arguments["<STR_LIT>"]:<EOL><INDENT>print(what)<EOL>print(<NUM_LIT> * "<STR_LIT:->")<EOL><DEDENT>self._print_rst(what)<EOL><DEDENT>except:<EOL><INDENT>print("<STR_LIT>" % (what, what))<EOL><DEDENT>print()<EOL><DEDENT>
::

    Usage:
           man COMMAND
           man [--noheader]

    Options:
           --norule   no rst header

    Arguments:
           COMMAND   the command to be printed 

    Description:
        man 
            Prints out the help pages
        man COMMAND
            Prints out the help page for a specific command