diff --git a/osc/cmdln.py b/osc/cmdln.py index de5cc433..f6ec2e1a 100644 --- a/osc/cmdln.py +++ b/osc/cmdln.py @@ -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: diff --git a/setup.py b/setup.py index 77086388..5fa94e7e 100755 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ class build_osc(distutils.command.build.build, object): # (this would break builds in environments like the obs) #osccli.main(argv = ['osc','man']) osccli.optparser = osccli.get_optparser() - osccli.do_man() + osccli.do_man(None) outfile.close() def run(self):