diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-03-07 09:06:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-03-07 09:06:37 +0200 |
commit | 1845141809aa91b03718066a6f46863885a6a887 (patch) | |
tree | a3f542ec7c1781e65aa16a9b0d5c31eae4c4d757 /build2/b.cli | |
parent | e0002617846755fb5f199f40a677e16d6f69e5ec (diff) |
Add support for alternative build file/directory naming scheme
Now the build/*.build, buildfile, and .buildignore filesystem entries in
a project can alternatively (but consistently) be called build2/*.build2,
build2file, and .build2ignore. See a note at the beginning of the Project
Structure section in the manual for details (motivation, restrictions,
etc).
Diffstat (limited to 'build2/b.cli')
-rw-r--r-- | build2/b.cli | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/build2/b.cli b/build2/b.cli index a88693d..35d5e2e 100644 --- a/build2/b.cli +++ b/build2/b.cli @@ -561,15 +561,17 @@ namespace build2 "Don't print line and column numbers in diagnostics." } - path --buildfile = "buildfile" + path --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." + \cb{buildfile} or \cb{build2file}, depending on the project's build + file/directory naming scheme. 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 |