]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add -I shorthand for --include
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 15 May 2024 19:14:07 +0000 (21:14 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 15 May 2024 19:18:38 +0000 (21:18 +0200)
mkosi/config.py
mkosi/resources/mkosi.md

index 4bfb468e732695a448dea354f529c1d7151df214..f58b2ca8f5c0cb7830a131a82d8073b441e0e940 100644 (file)
@@ -1811,6 +1811,7 @@ def parse_ini(path: Path, only_sections: Collection[str] = ()) -> Iterator[tuple
 SETTINGS = (
     ConfigSetting(
         dest="include",
+        short="-I",
         section="Config",
         parse=config_make_list_parser(
             delimiter=",",
index aa56c198ec68a2f12cf1f19d0fe1ce938b509510..96a082314d04280032c858c01b073253eeaeeb14 100644 (file)
@@ -1887,7 +1887,7 @@ boolean argument: either `1`, `yes`, or `true` to enable, or `0`, `no`,
   `mkosi.conf` file, but before any `mkosi.conf.d/*.conf` drop in
   configuration.
 
-`Include=`, `--include=`
+`Include=`, `--include=`, `-I`
 
 : Include extra configuration from the given file or directory. The
   extra configuration is included immediately after parsing the setting,