aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-22 13:45:16 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-26 17:49:52 +0300
commit12a5375f25d6a7be5a5741c728a8f9b8168761a4 (patch)
tree43e1832a9c1e709037f6005276f01ef44f2552bc /bpkg/rep-add.cli
parentf619db022734dff6b988c514e3a292a5c7babaf0 (diff)
Document new rep-list and rep-remove, update rep-add and rep-fetch
Diffstat (limited to 'bpkg/rep-add.cli')
-rw-r--r--bpkg/rep-add.cli11
1 files changed, 6 insertions, 5 deletions
diff --git a/bpkg/rep-add.cli b/bpkg/rep-add.cli
index ff202a5..827e745 100644
--- a/bpkg/rep-add.cli
+++ b/bpkg/rep-add.cli
@@ -13,17 +13,18 @@ include <bpkg/configuration.cli>;
namespace bpkg
{
{
- "<options> <rep> <tag> <branch> <commit-id>",
+ "<options> <location> <tag> <branch> <commit-id>",
"\h|SYNOPSIS|
- \c{\b{bpkg rep-add}|\b{add} [<options>] <rep>}
+ \c{\b{bpkg rep-add}|\b{add} [<options>] <location>...}
\h|DESCRIPTION|
- The \cb{rep-add} command adds the specified package repository to the
- configuration. The repository location <rep> is a URL or a directory
- path.
+ The \cb{rep-add} command adds the specified package repositories to the
+ configuration. The repository location is a URL or a directory path. If a
+ repository with the same name already exists in the configuration, then
+ its location is replaced with the specified.
Note that this command doesn't fetch the list of available packages for
the newly added repository. For that, use the \l{bpkg-rep-fetch(1)}