aboutsummaryrefslogtreecommitdiff
path: root/bpkg/configuration-options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/configuration-options.cli')
-rw-r--r--bpkg/configuration-options.cli20
1 files changed, 20 insertions, 0 deletions
diff --git a/bpkg/configuration-options.cli b/bpkg/configuration-options.cli
new file mode 100644
index 0000000..712c7da
--- /dev/null
+++ b/bpkg/configuration-options.cli
@@ -0,0 +1,20 @@
+// file : bpkg/configuration-options.cli
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common-options.cli>;
+
+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."
+ };
+ };
+}