aboutsummaryrefslogtreecommitdiff
path: root/bpkg/configuration.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/configuration.cli')
-rw-r--r--bpkg/configuration.cli22
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/configuration.cli b/bpkg/configuration.cli
new file mode 100644
index 0000000..5b174b9
--- /dev/null
+++ b/bpkg/configuration.cli
@@ -0,0 +1,22 @@
+// file : bpkg/configuration.cli
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common.cli>;
+
+"\name=configuration" // Not a man page.
+
+namespace bpkg
+{
+ // Common options for commands that operate on a configuration.
+ //
+ class configuration_options: common_options
+ {
+ dir_path --directory|-d (".")
+ {
+ "<dir>",
+ "Assume configuration is in <dir> rather than in the current working
+ directory."
+ }
+ };
+}