aboutsummaryrefslogtreecommitdiff
path: root/bdep/projects-configs.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/projects-configs.cli')
-rw-r--r--bdep/projects-configs.cli11
1 files changed, 6 insertions, 5 deletions
diff --git a/bdep/projects-configs.cli b/bdep/projects-configs.cli
index a5c5808..844099b 100644
--- a/bdep/projects-configs.cli
+++ b/bdep/projects-configs.cli
@@ -10,7 +10,7 @@ include <bdep/common-options.hxx>;
{
"<command>
<prj-spec> <prj-dir>
- <pkg-spec> <pkg-dir>
+ <pkg-spec> <pkg> <pkg-dir>
<cfg-spec> <cfg-name> <cfg-dir>",
"
@@ -19,7 +19,7 @@ include <bdep/common-options.hxx>;
\c{\b{bdep} <command> [<pkg-spec>] [<cfg-spec>] ...}
\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
+ <pkg-spec> = (<pkg> | (\b{--directory}|\b{-d} <pkg-dir>))... | <prj-spec>\n
<prj-spec> = \b{--directory}|\b{-d} <prj-dir>}
\h|DESCRIPTION|
@@ -39,9 +39,10 @@ include <bdep/common-options.hxx>;
\cb{git(1)}.
Alternatively, the project or (several) package directories can be specified
- with the \c{\b{--directory}|\b{-d}} options. Note that \cb{bdep} operates
- on a single project but potentially multiple packages belonging to said
- project at a time.
+ with the \c{\b{--directory}|\b{-d}} options. Additionally, in all the
+ commands except \cb{init}, an initialized project package can be specified
+ as a <pkg> name. Note that \cb{bdep} operates on a single project but
+ potentially multiple packages belonging to said project at a time.
Some \cb{bdep} commands, such as \cb{fetch}, operate on the whole project.
If such a command is given a package directory (either as the working