aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-disfigure.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-09-22 10:42:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-09-22 17:21:41 +0200
commit82ea0bd107006cb574d8b19a4e457fb5a4c8caf0 (patch)
treec0ab3a801484538ebb47cab92b9b27bfb40e73d1 /bpkg/pkg-disfigure.hxx
parent2dfbf7564fc94841537ba8fb3d46063ab438dda6 (diff)
Add --keep-config pkg-disfigure option
Diffstat (limited to 'bpkg/pkg-disfigure.hxx')
-rw-r--r--bpkg/pkg-disfigure.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/bpkg/pkg-disfigure.hxx b/bpkg/pkg-disfigure.hxx
index d15b007..fab56a0 100644
--- a/bpkg/pkg-disfigure.hxx
+++ b/bpkg/pkg-disfigure.hxx
@@ -15,11 +15,11 @@ namespace bpkg
int
pkg_disfigure (const pkg_disfigure_options&, cli::scanner& args);
- // Disfigure the package, update its state, and commit the
- // transaction. If the package state is broken, then this
- // is taken to mean it hasn't been successfully configured
- // and no clean prior to disfigure is necessary (or possible,
- // for that matter).
+ // Disfigure the package, update its state, and commit the transaction. If
+ // the package state is broken, then this is taken to mean it hasn't been
+ // successfully configured and no clean prior to disfigure is necessary (or
+ // possible, for that matter). If disfigure is false, then don't actually
+ // disfigure the package in the build system sense.
//
void
pkg_disfigure (const common_options&,
@@ -27,6 +27,7 @@ namespace bpkg
transaction&,
const shared_ptr<selected_package>&,
bool clean,
+ bool disfigure,
bool simulate);
}