aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-24 13:29:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-24 13:29:06 +0200
commit234428e21adde0ddf60f9665edad3dcfb9fd2584 (patch)
tree28910fd2556f2c6b985762710a3319b981aa151e /bdep/config.cli
parentefc78a6f3b0d1e0a2278ea5a7f2c502a6b4f00d0 (diff)
Implement --config-create|-C in init and new
Diffstat (limited to 'bdep/config.cli')
-rw-r--r--bdep/config.cli17
1 files changed, 12 insertions, 5 deletions
diff --git a/bdep/config.cli b/bdep/config.cli
index 30f7ed7..37f7ae2 100644
--- a/bdep/config.cli
+++ b/bdep/config.cli
@@ -14,8 +14,16 @@ namespace bdep
"<options>
<cfg-spec> <cfg-name> <cfg-dir>
<prj-spec> <prj-dir>
- <cfg-args> <cfg-var> <module>",
+ <cfg-args> <option> <module> <cfg-var>",
+ // Other potential subcommands:
+ //
+ // list - list associated configurations
+ // show|status - details about a configuration (init'ed packages, etc)
+ //
+ // @@ Should we be able to remove config with init'ed packages? Who
+ // is going to drop them in configs? Or require them to be de-init'ed?
+ //
"\h|SYNOPSIS|
\c{\b{bdep config add} \ \ \ [<options>] [<prj-spec>] [\b{@}<cfg-name>] <cfg-dir>\n
@@ -26,16 +34,15 @@ namespace bdep
\c{<cfg-spec> = \b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>\n
<prj-spec> = \b{--directory}|\b{-d} <prj-dir>\n
- <cfg-args> = (<module> | <cfg-var>)...}
+ <cfg-args> = (<option> | <module> | <cfg-var>)...}
\h|DESCRIPTION|
The \cb{config} command...
-
Unless the \cb{--no-default} option is specified, the first added or
- created build configuration is designated as the default configuration.
- Several \cb{bdep} commands use such a configuration by default if no
+ created build configuration is designated as the default. Several
+ \cb{bdep} commands use such a configuration by default if no
configuration was specified explicitly (see \l{bdep-projects-configs(1)}
for details). To make a subsequently added configuration the default use
the \cb{--default} option.