From 82ea0bd107006cb574d8b19a4e457fb5a4c8caf0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Sep 2021 10:42:09 +0200 Subject: Add --keep-config pkg-disfigure option --- bpkg/pkg-disfigure.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'bpkg/pkg-disfigure.hxx') 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&, bool clean, + bool disfigure, bool simulate); } -- cgit v1.1