aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/b.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-12 13:21:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-12 13:21:36 +0200
commitaeae50fe987b1787d1c1ae6f5c0bfb4f179205ef (patch)
treeeee92e23aa81b057688b5cea7fae6487b0470244 /libbuild2/b.cli
parent272437d0680dc39607140fc041bac9d3cdfbd626 (diff)
Add no_subprojects parameter to info meta-operation
Diffstat (limited to 'libbuild2/b.cli')
-rw-r--r--libbuild2/b.cli9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/b.cli b/libbuild2/b.cli
index 773e29e..5d6ead2 100644
--- a/libbuild2/b.cli
+++ b/libbuild2/b.cli
@@ -328,11 +328,20 @@ namespace build2
version: 1.0.0
src_root: /tmp/libfoo
out_root: /tmp/libfoo
+ subprojects: @tests
project: libbar
version: 2.0.0
src_root: /tmp/libbar
out_root: /tmp/libbar-out
+ subprojects: @tests
+ \
+
+ To omit discovering and printing subprojects information, use the
+ \cb{no_subprojects} parameter, for example:
+
+ \
+ $ b info: libfoo/,no_subprojects
\
To instead print this information in the JSON format, use the