From 89dd478de7cf075beac69d0145df46f914cf35cf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Feb 2018 21:47:04 +0300 Subject: Add support for pkg-checkout --- bpkg/pkg-fetch.cli | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bpkg/pkg-fetch.cli') diff --git a/bpkg/pkg-fetch.cli b/bpkg/pkg-fetch.cli index 55d2a22..4e1dda1 100644 --- a/bpkg/pkg-fetch.cli +++ b/bpkg/pkg-fetch.cli @@ -20,11 +20,14 @@ namespace bpkg \h|DESCRIPTION| The \cb{pkg-fetch} command fetches the archive for the specified package - name and version from one of the repositories (\l{bpkg-rep-add(1)}). If - the \cb{--replace|-r} option is specified, then \cb{pkg-fetch} will + name and version from one of the archive-based repositories + (\l{bpkg-rep-add(1)}). The resulting package state is \cb{fetched} + (\l{bpkg-pkg-status(1)}). + + If the \cb{--replace|-r} option is specified, then \cb{pkg-fetch} will replace the archive of a package that is already in the \cb{fetched} or - \cb{unpacked} state (\l{bpkg-pkg-status(1)}). Otherwise, \cb{pkg-fetch} - expects the package to not exist in the configuration. + \cb{unpacked} state. Otherwise, \cb{pkg-fetch} expects the package to not + exist in the configuration. If the \cb{--existing|-e} option is used, then instead of the name and version arguments, \cb{pkg-fetch} expects a local path to an existing -- cgit v1.1