The branch main has been updated by des:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=7c51da13ae55dc98e9cc1b794e1fe6fc001d7f42

commit 7c51da13ae55dc98e9cc1b794e1fe6fc001d7f42
Author:     Dag-Erling Smørgrav <[email protected]>
AuthorDate: 2026-07-22 08:37:56 +0000
Commit:     Dag-Erling Smørgrav <[email protected]>
CommitDate: 2026-07-22 08:38:24 +0000

    kyua-debug: Add -P option
    
    Add -P as shorthand for --pause-before-cleanup.
    
    MFC after:      1 week
    Reviewed by:    ngie
    Differential Revision:  https://reviews.freebsd.org/D56613
---
 contrib/kyua/cli/cmd_debug.cpp   | 1 +
 contrib/kyua/doc/kyua-debug.1.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/contrib/kyua/cli/cmd_debug.cpp b/contrib/kyua/cli/cmd_debug.cpp
index 060113d137fa..8ad52afb73a6 100644
--- a/contrib/kyua/cli/cmd_debug.cpp
+++ b/contrib/kyua/cli/cmd_debug.cpp
@@ -69,6 +69,7 @@ const cmdline::bool_option 
pause_before_cleanup_upon_fail_option(
 
 
 const cmdline::bool_option pause_before_cleanup_option(
+    'P',
     "pause-before-cleanup",
     "Pauses right before the test cleanup");
 
diff --git a/contrib/kyua/doc/kyua-debug.1.in b/contrib/kyua/doc/kyua-debug.1.in
index 263aef3667a7..a28c82dc270f 100644
--- a/contrib/kyua/doc/kyua-debug.1.in
+++ b/contrib/kyua/doc/kyua-debug.1.in
@@ -25,7 +25,7 @@
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 .\" OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.Dd March 25, 2025
+.Dd July 22, 2026
 .Dt KYUA-DEBUG 1
 .Os
 .Sh NAME
@@ -99,7 +99,7 @@ This flag makes it possible to preserve such artifacts 
immediately after a test
 failure, simplifying debugging.
 Otherwise, these artifacts would be removed by the test cleanup routine or
 by Kyua built-in cleanup mechanism.
-.It Fl -pause-before-cleanup
+.It Fl -pause-before-cleanup , Fl P
 The unconditional variant of the previous option.
 This can be helpful for reproducing the infrastructure or fixture of a passing
 test for further development or additional analysis.

Reply via email to