diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-01 09:13:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-01 09:13:37 +0200 |
commit | 098460199c35218979e207a1709111e477ab9567 (patch) | |
tree | 55765e91a517759bf28672abeda96102f2f511c4 /bpkg/configuration-options.cli | |
parent | 42bbdd0e7f0d78b622697bf4d4543c1aead22ae8 (diff) |
build command genesis, some re-factoring
Diffstat (limited to 'bpkg/configuration-options.cli')
-rw-r--r-- | bpkg/configuration-options.cli | 20 |
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." + }; + }; +} |