]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix mkosi help
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 17 Apr 2025 09:05:39 +0000 (11:05 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 17 Apr 2025 09:32:32 +0000 (11:32 +0200)
mkosi/config.py

index 41bdd33c1a8d8ed712b140b4205314256c64a3d3..be72f9b10b1e709f53eaecc9e3636171a8dc5f29 100644 (file)
@@ -5093,7 +5093,8 @@ def parse_config(
 
     # Do the same for help.
     if args.verb == Verb.help:
-        PagerHelpAction.__call__(None, argparser, context.cli)  # type: ignore
+        page(argparser.format_help(), context.cli["pager"])
+        sys.exit(0)
 
     if not args.verb.needs_config():
         return args, None, ()