From 12a5375f25d6a7be5a5741c728a8f9b8168761a4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Feb 2018 13:45:16 +0200 Subject: Document new rep-list and rep-remove, update rep-add and rep-fetch --- bpkg/rep-fetch.cli | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'bpkg/rep-fetch.cli') 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 ; namespace bpkg { { - "", + " ", "\h|SYNOPSIS| - \c{\b{bpkg rep-fetch}|\b{fetch} []} + \c{\b{bpkg rep-fetch}|\b{fetch} [] [(|)...]} \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 -- cgit v1.1