aboutsummaryrefslogtreecommitdiff
path: root/bdep/configuration.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/configuration.cli')
-rw-r--r--bdep/configuration.cli35
1 files changed, 35 insertions, 0 deletions
diff --git a/bdep/configuration.cli b/bdep/configuration.cli
new file mode 100644
index 0000000..190845c
--- /dev/null
+++ b/bdep/configuration.cli
@@ -0,0 +1,35 @@
+// file : bdep/configuration.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bdep/project.cli>;
+
+"\name=configuration" // Not a man page.
+
+namespace bdep
+{
+ // Common options for commands that operate on configurations (cfg-spec).
+ // Note that all of them also operate on project/packages thus inheritance
+ // from project_options.
+ //
+ class configuration_options: project_options
+ {
+ dir_paths --config|-c
+ {
+ "<cfg-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;
+ };
+}