aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-09-09 10:57:32 -0400
committerXavier Claessens <xclaesse@gmail.com>2020-09-10 11:39:30 -0400
commit14c1a6983d8cabd2382b750dd53d004d16449832 (patch)
treeefd1e5881feed53bb97b132069c977e4062805eb /docs/markdown
parenta3ac25b0c3b1d671090acb14273af7d942bf07ce (diff)
downloadmeson-14c1a6983d8cabd2382b750dd53d004d16449832.zip
meson-14c1a6983d8cabd2382b750dd53d004d16449832.tar.gz
meson-14c1a6983d8cabd2382b750dd53d004d16449832.tar.bz2
msubprojects: Allow comma separated list of types
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Subprojects.md5
-rw-r--r--docs/markdown/snippets/subprojects_update.md7
2 files changed, 7 insertions, 5 deletions
diff --git a/docs/markdown/Subprojects.md b/docs/markdown/Subprojects.md
index 5dae0e8..379c775 100644
--- a/docs/markdown/Subprojects.md
+++ b/docs/markdown/Subprojects.md
@@ -267,8 +267,9 @@ subcommand fails on any subproject the execution continues with other subproject
All subcommands accept `--sourcedir` argument pointing to the root source dir
of the main project.
-*Since 0.56.0* all subcommands accept `--type <file|git|hg|svn>` argument to
-run the subcommands only on subprojects of the given type.
+*Since 0.56.0* all subcommands accept `--types <file|git|hg|svn>` argument to
+run the subcommands only on subprojects of the given types. Multiple types can
+be set as comma separated list e.g. `--types git,file`.
*Since 0.56.0* If the subcommand fails on any subproject an error code is returned
at the end instead of retuning success.
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