aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-05 07:26:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-05 07:26:09 +0200
commit46a95c974de475070d0eedb07212e5c5282b66bd (patch)
tree687d232cb775f0840c50a9c64bf96d3a16e6f4f3 /build2/b.cli
parent5c369faa461ec4416d2d4b231a5b36963a7315ce (diff)
Implement --buildfile option, overrides default buildfile, supports '-'
Diffstat (limited to 'build2/b.cli')
-rw-r--r--build2/b.cli11
1 files changed, 11 insertions, 0 deletions
diff --git a/build2/b.cli b/build2/b.cli
index 9144acf..013a756 100644
--- a/build2/b.cli
+++ b/build2/b.cli
@@ -220,6 +220,17 @@ namespace build2
\li|Even more detailed information, including state dumps.||"
}
+ path --buildfile = "buildfile"
+ {
+ "<path>",
+ "The alternative file to read build information from. The default is
+ \cb{buildfile}. If <path> is '\cb{-}', then read from \cb{STDIN}. Note
+ that this option only affects the files read as part of the buildspec
+ processing. Specifically, it has no effect on the \cb{source} and
+ \cb{include} directives. As a result, this option is primarily intended
+ for testing rather than changing the build file names in real projects."
+ }
+
path --config-guess
{
"<path>",