Skip to content

Commit

Permalink
Add -I shorthand for --include
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer authored and behrmann committed May 15, 2024
1 parent 01a6772 commit c06bab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mkosi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=",",
Expand Down
2 changes: 1 addition & 1 deletion mkosi/resources/mkosi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c06bab1

Please sign in to comment.