diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-22 13:45:16 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-26 17:49:52 +0300 |
commit | 12a5375f25d6a7be5a5741c728a8f9b8168761a4 (patch) | |
tree | 43e1832a9c1e709037f6005276f01ef44f2552bc /bpkg/rep-fetch.cli | |
parent | f619db022734dff6b988c514e3a292a5c7babaf0 (diff) |
Document new rep-list and rep-remove, update rep-add and rep-fetch
Diffstat (limited to 'bpkg/rep-fetch.cli')
-rw-r--r-- | bpkg/rep-fetch.cli | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/bpkg/rep-fetch.cli b/bpkg/rep-fetch.cli index ce41d5c..9ec1de7 100644 --- a/bpkg/rep-fetch.cli +++ b/bpkg/rep-fetch.cli @@ -11,18 +11,25 @@ include <bpkg/configuration.cli>; namespace bpkg { { - "<options>", + "<options> <name> <location>", "\h|SYNOPSIS| - \c{\b{bpkg rep-fetch}|\b{fetch} [<options>]} + \c{\b{bpkg rep-fetch}|\b{fetch} [<options>] [(<name>|<location>)...]} \h|DESCRIPTION| - The \cb{rep-fetch} command fetches the list of available packages for all - the repositories that were previously added with the \l{bpkg-rep-add(1)} - command as well as all their complement and prerequisite repositories, - recursively." + The \cb{rep-fetch} command fetches the list of available packages for the + specified repositories as well as all their complement and prerequisite + repositories, recursively. If no repositories were specified, then all + the repositories previously added (\l{bpkg-rep-add(1)}) to the + configuration are fetched. + + The repository to fetch can be specified either as a repository name or + as a repository location (URL or a directory path; see + \l{bpkg-rep-add(1)} for details). In the latter case, the repository + location is added/replaced as if by first executing the \cb{rep-add} + command." } class rep_fetch_options: configuration_options |