aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-16 13:15:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-16 13:15:53 +0200
commit422afdb14a7a0c141bce59287377bca1b1b34a07 (patch)
tree3ef6ca52b40bab5b55eaa28f604478cc255337ea /bpkg/pkg-fetch.cxx
parent236ad71b105365bedf9d28a5606616fb9aed3168 (diff)
Add --purge|-p option to pkg-{fetch,unpack} commands
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 7558862..9d4efaa 100644
--- a/bpkg/pkg-fetch.cxx
+++ b/bpkg/pkg-fetch.cxx
@@ -45,7 +45,7 @@ namespace bpkg
if (!exists (a))
fail << "archive file '" << a << "' does not exist";
- purge = false;
+ purge = o.purge ();
}
else
{