aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r--bpkg/pkg-fetch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx
index 89283c6..9d82446 100644
--- a/bpkg/pkg-fetch.cxx
+++ b/bpkg/pkg-fetch.cxx
@@ -34,7 +34,7 @@ namespace bpkg
path a;
bool purge;
- if (o.archive ())
+ if (o.existing ())
{
if (!args.more ())
fail << "archive path argument expected" <<