summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index f5cee54..d1f005d 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -1042,6 +1042,9 @@ packages will be built sequentially.
' name-version-release')
parser_verrel.set_defaults(command = verrel)
+ # man page
+ pyfedpkg.man_page.add_parser(subparsers)
+
# Parse the args
args = parser.parse_args()
@@ -1059,4 +1062,6 @@ packages will be built sequentially.
log.addHandler(streamhandler)
# Run the necessary command
+ args.parser = parser # the man page generator needs this
+ args.subparsers = subparsers # the man page generator needs this
args.command(args)