From 7eff7caedd1d384c6ad4e3b48cf24ad0e1b529b9 Mon Sep 17 00:00:00 2001 From: Andre Paiusco Date: Mon, 25 May 2026 20:19:27 +0200 Subject: [PATCH] Fix missing feature on tests --- argh/tests/subcommand_short_help.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/argh/tests/subcommand_short_help.rs b/argh/tests/subcommand_short_help.rs index 39ab6d7..d64e075 100644 --- a/argh/tests/subcommand_short_help.rs +++ b/argh/tests/subcommand_short_help.rs @@ -33,6 +33,7 @@ struct SubCommandTwo { } #[test] +#[cfg(feature = "help")] fn test_subcommand_short_help() { let early_exit = TopLevel::from_args(&["cmd"], &["help"]).unwrap_err(); let output = early_exit.output; @@ -54,6 +55,7 @@ fn test_subcommand_short_help() { } #[test] +#[cfg(feature = "help")] fn test_subcommand_short_help_own() { // Invoke via full name let early_exit_full = TopLevel::from_args(&["cmd"], &["one", "help"]).unwrap_err();