aboutsummaryrefslogtreecommitdiff
path: root/bdep/init.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-06-15 23:34:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-06-17 18:45:28 +0300
commit064b22135afaf701f7f689ef75136298b9a0d278 (patch)
tree0f09134db6c125eb33e848c79fadcd893b7b25d6 /bdep/init.cli
parentd2cc9eb93efbb34f5c88d672e04b126b0c422bb3 (diff)
Allow specifying pkg-args in bdep-init -A and -C forms
Diffstat (limited to 'bdep/init.cli')
-rw-r--r--bdep/init.cli11
1 files changed, 9 insertions, 2 deletions
diff --git a/bdep/init.cli b/bdep/init.cli
index c57796e..cb9c9f8 100644
--- a/bdep/init.cli
+++ b/bdep/init.cli
@@ -23,8 +23,9 @@ namespace bdep
\c{\b{bdep init} [<options>] [<pkg-spec>] [<cfg-spec>] [<pkg-args>]\n
\b{bdep init} [<options>] [<prj-spec>] \b{--empty|-E}\n
\b{bdep init} [<options>] [<pkg-spec>] \b{--config-add|-A} <cfg-dir> [\b{@}<cfg-name>]\n
+ \ \ \ \ \ \ \ \ \ \ [<pkg-args>]\n
\b{bdep init} [<options>] [<pkg-spec>] \b{--config-create|-C} <cfg-dir> [\b{@}<cfg-name>]\n
- \ \ \ \ \ \ \ \ \ \ [<cfg-args>]}
+ \ \ \ \ \ \ \ \ \ \ [<cfg-args>] [\b{--} <pkg-args>]}
\c{<cfg-spec> = (\b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>)... | \b{--all}|\b{-a}\n
<pkg-spec> = (\b{--directory}|\b{-d} <pkg-dir>)... | <prj-spec>\n
@@ -59,7 +60,13 @@ namespace bdep
\cb{config add} or \cb{config create} commands (\l{bdep-config(1)}),
respectively, followed by the first form. Optional <cfg-args> in the
fourth form are the additional arguments to the underlying
- \l{bpkg-cfg-create(1)} command.
+ \l{bpkg-cfg-create(1)} command. Note that in this case to specify
+ <pkg-args> without specifying <cfg-args> you have to use two \cb{--}
+ separators, for example:
+
+ \
+ $ bdep init -C ../prj-gcc @gcc -- -- ?sys:libsqlite3/*
+ \
\h|EXAMPLES|