]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Make --tools-tree the same as --tools-tree=default
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 6 Jun 2024 19:52:19 +0000 (21:52 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 6 Jun 2024 20:47:59 +0000 (22:47 +0200)
Saves on typing and makes it easier to use overall.

mkosi/config.py

index f227e9f80f7bc98f37ac9d41318d32e9335b0f41..5652255920aa615a0efa21c6c0fc51f26d0d4099 100644 (file)
@@ -2793,6 +2793,8 @@ SETTINGS = (
         parse=config_make_path_parser(required=False, constants=("default",)),
         paths=("mkosi.tools",),
         help="Look up programs to execute inside the given tree",
+        nargs="?",
+        const="default",
     ),
     ConfigSetting(
         dest="tools_tree_distribution",