aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-27 14:20:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-27 14:20:10 +0200
commitb71fa164192f1af8b702e1578cf202b510a9b281 (patch)
tree99e3cc0965b2fce6fe1be4151eef1e1bb44af59f /build2/b.cli
parentb48666e580abf54d426d13840f49242aa2569bb2 (diff)
Add --dump <phase> option, omit state dumping from verbosity level 6
Diffstat (limited to 'build2/b.cli')
-rw-r--r--build2/b.cli12
1 files changed, 11 insertions, 1 deletions
diff --git a/build2/b.cli b/build2/b.cli
index 3074e4e..77f50ba 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -2,6 +2,7 @@
// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
+include <set>;
include <build2/types.hxx>;
"\section=1"
@@ -438,7 +439,7 @@ namespace build2
\li|Information that could be helpful to the developer.|
- \li|Even more detailed information, including state dumps.||"
+ \li|Even more detailed information.||"
}
bool --stat
@@ -446,6 +447,15 @@ namespace build2
"Display build statistics."
}
+ std::set<string> --dump
+ {
+ "<phase>",
+ "Dump the build system state after the specified phase. Valid <phase>
+ values are \cb{load} (after loading \cb{buildfiles}) and \cb{match}
+ (after matching rules to targets). Repeat this option to dump the
+ state after multiple phases."
+ }
+
size_t --jobs|-j
{
"<num>",