def show_category(self, category, args):
n2cmd = self.proc.commands<EOL>names = list(n2cmd.keys())<EOL>if len(args) == <NUM_LIT:1> and args[<NUM_LIT:0>] == '<STR_LIT:*>':<EOL><INDENT>self.section("<STR_LIT>" % category)<EOL>cmds = [cmd for cmd in names if category == n2cmd[cmd].category]<EOL>cmds.sort()<EOL>self.msg_nocr(self.columnize_commands(cmds))<EOL>return<EOL><DEDENT>self.msg("<STR_LIT>" % categories[category])<EOL>self.section("<STR_LIT>")<EOL>names.sort()<EOL>for name in names:  <EOL><INDENT>if category != n2cmd[name].category: continue<EOL>self.msg("<STR_LIT>" % (name, n2cmd[name].short_help,))<EOL>pass<EOL><DEDENT>return<EOL>
Show short help for all commands in `category'.