aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-08 18:06:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-08 18:06:26 +0200
commitdf5e58e6e5eb2727a185bf9a98a462c18fa3a83d (patch)
treefb0cc76643865390ac3e45462d51ea02575a3175 /bdep/project.cli
parentf9ebe2d1e920df001be2dd543a63677f8728f53d (diff)
Setup project database infrastructure
Diffstat (limited to 'bdep/project.cli')
-rw-r--r--bdep/project.cli20
1 files changed, 19 insertions, 1 deletions
diff --git a/bdep/project.cli b/bdep/project.cli
index 7b6af76..f080917 100644
--- a/bdep/project.cli
+++ b/bdep/project.cli
@@ -9,10 +9,28 @@ include <bdep/common.cli>;
namespace bdep
{
// Common options for commands that operate on project/packages (prj-spec
- // and pkg-spec).
+ // and pkg-spec) and configurations (cfg-spec).
//
class project_options: common_options
{
+ dir_paths --config|-c
+ {
+ "<dir>",
+ "Specify the build configuration to use as a directory."
+ }
+
+ bool --all|-a
+ {
+ "Use all build configurations."
+ }
+
+ // Storage for configuration names specified as @<cfg-name>.
+ //
+ // Note that we leave it undocumented so that it's not mentioned in
+ // documentation.
+ //
+ strings --config-name;
+
dir_paths --directory|-d
{
"<dir>",