mirror of
https://github.com/openSUSE/osc.git
synced 2025-11-07 22:53:16 +01:00
spec: Build git-obs man page
This commit is contained in:
@@ -249,6 +249,14 @@ class GitObsMainCommand(osc.commandline_common.MainCommand):
|
||||
self._gitea_conn = value
|
||||
|
||||
|
||||
def get_parser():
|
||||
"""
|
||||
Needed by argparse-manpage to generate man pages from the argument parser.
|
||||
"""
|
||||
main, _ = GitObsMainCommand.main(run=False)
|
||||
return main.parser
|
||||
|
||||
|
||||
def main():
|
||||
try:
|
||||
GitObsMainCommand.main()
|
||||
|
||||
Reference in New Issue
Block a user