diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 07:50:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-18 07:50:38 +0200 |
commit | 9accdefc33940d713828195313ca1a0eb0de030f (patch) | |
tree | 22f1e84a97d3ba353788d5ec30c20ea4c6d43670 /bpkg/pkg-common-options.cli | |
parent | cae11509203061e894e6310c35ea50ae818af3a7 (diff) |
Generalize pkg_update() to pkg_command() to be used for clean, test, etc
Diffstat (limited to 'bpkg/pkg-common-options.cli')
-rw-r--r-- | bpkg/pkg-common-options.cli | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bpkg/pkg-common-options.cli b/bpkg/pkg-common-options.cli new file mode 100644 index 0000000..d7097ff --- /dev/null +++ b/bpkg/pkg-common-options.cli @@ -0,0 +1,18 @@ +// file : bpkg/pkg-common-options.cli +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include <bpkg/common-options.cli>; + +namespace bpkg +{ + class pkg_common_options: common_options + { + dir_path --directory|-d (".") + { + "<dir>", + "Assume configuration is in <dir> rather than in the current working + directory." + }; + }; +} |