osc.cmdln add do_man() and hide() to cmdln.1.0.0. do_man() is a
subcommand to generate man page. hide() is a decorator to hide
subcommand in help message, but user can still use it.
Change-Id: I2f4167211397698b8f84635347cfdb2f7c4e3b3c
from gitbuildsys import cmd_changelog as cmd
cmd.do(opts, args)
+ @cmdln.hide()
+ def do_man(self, argv):
+ """${cmd_name}: generates a man page
+
+ usage:
+ ${name} man
+ """
+ return cmdln.Cmdln.do_man(self, argv)
+
if __name__ == '__main__':
try: