aboutsummaryrefslogtreecommitdiff
path: root/bdep/common.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-09 16:21:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-09 16:21:14 +0200
commitd369ab42f2d3bc52086dc7d9b79510dce5e80513 (patch)
tree504d1f694804b115b71d858cfe8e6b44fde5770e /bdep/common.cli
parentd304762e4338b4a055e2be018205a00c2ca9ee2f (diff)
Add support for executing bpkg
Diffstat (limited to 'bdep/common.cli')
-rw-r--r--bdep/common.cli28
1 files changed, 24 insertions, 4 deletions
diff --git a/bdep/common.cli b/bdep/common.cli
index 168233b..80c01db 100644
--- a/bdep/common.cli
+++ b/bdep/common.cli
@@ -2,8 +2,7 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-// @@ TODO
-//include <bdep/types.hxx>;
+include <bdep/types.hxx>;
"\section=1"
"\name=bdep-common-options"
@@ -79,6 +78,29 @@ namespace bdep
\li|Even more detailed information.||"
}
+ path --bpkg
+ {
+ "<path>",
+ "The package manager program to be used for build configuration
+ management. This should be the path to the \cb{bpkg} executable. You
+ can also specify additional options that should be passed to the
+ package manager program with \cb{--bpkg-option}.
+
+ If the package manager program is not explicitly specified, then
+ \cb{bdep} will by default use \cb{bpkg} plus an executable suffix if
+ one was specified when building \cb{bdep}. So, for example, if
+ \cb{bdep} name was set to \cb{bdep-1.0}, then it will look for
+ \cb{bpkg-1.0}."
+ }
+
+ strings --bpkg-option
+ {
+ "<opt>",
+ "Additional option to be passed to the package manager program. See
+ \cb{--bpkg} for more information on the package manager program.
+ Repeat this option to specify multiple package manager options."
+ }
+
path --build
{
"<path>",
@@ -100,8 +122,6 @@ namespace bdep
multiple build options."
}
- //@@ TODO: add --bpkg and --bpkg-option
-
string --pager // String to allow empty value.
{
"<path>",