diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 07:26:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-04-05 07:26:09 +0200 |
commit | 46a95c974de475070d0eedb07212e5c5282b66bd (patch) | |
tree | 687d232cb775f0840c50a9c64bf96d3a16e6f4f3 /build2/b.cli | |
parent | 5c369faa461ec4416d2d4b231a5b36963a7315ce (diff) |
Implement --buildfile option, overrides default buildfile, supports '-'
Diffstat (limited to 'build2/b.cli')
-rw-r--r-- | build2/b.cli | 11 |
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>", |