aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-26 09:48:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-26 09:48:58 +0200
commite86333fa8790f624d82ecea2a8da40f85a1d3630 (patch)
tree91166f5070c5a43310faa3883030ccdf23182193 /bdep/project.cli
parent7839410d934bb36fdac2e4125c72febf73991320 (diff)
Add support for forwarded configurations
Diffstat (limited to 'bdep/project.cli')
-rw-r--r--bdep/project.cli25
1 files changed, 25 insertions, 0 deletions
diff --git a/bdep/project.cli b/bdep/project.cli
index 15faea8..137c77d 100644
--- a/bdep/project.cli
+++ b/bdep/project.cli
@@ -8,6 +8,31 @@ include <bdep/common.cli>;
namespace bdep
{
+ // Common options for commands that add/create configurations.
+ //
+ class configuration_add_options
+ {
+ bool --default
+ {
+ "Make the added or created configuration the default."
+ }
+
+ bool --no-default
+ {
+ "Don't make the first added or created configuration then default."
+ }
+
+ bool --forward
+ {
+ "Make the added or created configuration forwarded."
+ }
+
+ bool --no-forward
+ {
+ "Don't make the added or created configuration forwarded."
+ }
+ };
+
// Common options for commands that accept --config-id and @<cfg-name>.
//
class configuration_name_options: common_options