From 46a95c974de475070d0eedb07212e5c5282b66bd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Apr 2016 07:26:09 +0200 Subject: Implement --buildfile option, overrides default buildfile, supports '-' --- build2/b.cli | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'build2/b.cli') 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" + { + "", + "The alternative file to read build information from. The default is + \cb{buildfile}. If 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 { "", -- cgit v1.1