1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 05:38:43 +02:00

Return argument to do_man back

Revert a part of b3c5204, the do_main has to have at least one
argument, unless following exception will appear

osc.cmdln.CmdlnError: incorrect argcount for do_man(): takes 1, must
take 2 for 'argv' signature or 3+ for 'opts' signature

Signed-off-by: Petr Uzel <puzel@suse.cz>
Signed-off-by: Michal Vyskocil <mvyskocil@suse.cz>
This commit is contained in:
Petr Uzel
2010-12-22 13:29:52 +01:00
committed by Michal Vyskocil
parent 70b3c3c435
commit 197c10f661
2 changed files with 2 additions and 2 deletions

View File

@@ -559,7 +559,7 @@ class RawCmdln(cmd.Cmd):
do_help.aliases = ["?"]
def do_man(self):
def do_man(self, argv):
"""${cmd_name}: generates a man page
usage: