From 14c1a6983d8cabd2382b750dd53d004d16449832 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 9 Sep 2020 10:57:32 -0400 Subject: msubprojects: Allow comma separated list of types --- docs/markdown/snippets/subprojects_update.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/subprojects_update.md b/docs/markdown/snippets/subprojects_update.md index 598f70d..022545e 100644 --- a/docs/markdown/snippets/subprojects_update.md +++ b/docs/markdown/snippets/subprojects_update.md @@ -1,8 +1,9 @@ ## `meson subprojects` command -A new `--type` argument has been added to all subcommands to run the command only -on wraps with the specified type. For example this command will only print `Hello` -for each git subproject: `meson subprojects foreach --type git echo "Hello"`. +A new `--types` argument has been added to all subcommands to run the command only +on wraps with the specified types. For example this command will only print `Hello` +for each git subproject: `meson subprojects foreach --types git echo "Hello"`. +Multiple types can be set as comma separated list e.g. `--types git,file`. Subprojects with no wrap file are now taken into account as well. This happens for example for subprojects configured as git submodule, or downloaded manually -- cgit v1.1