From b1cab3c4fe07b67cd1bb80c6ab457fa5d22d5d71 Mon Sep 17 00:00:00 2001 From: Niklas Elsbrock Date: Tue, 22 Sep 2026 22:50:51 +0200 Subject: [PATCH] docs: improve command help --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 79bf210..c601179 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,8 +14,8 @@ use sequoia_openpgp::packet::UserID; struct Args { /// Filter key fingerprints by using a regular expression. /// - /// This regex is matched against the hexadecimal representation of the fingerprint, without - /// spaces or other additional symbols. + /// This regex is matched against the upper-case hexadecimal representation of the fingerprint, + /// without spaces or other additional symbols. /// /// This is implemented using the fancy-regex library: . /// You can test and debug your regex here: . @@ -27,7 +27,7 @@ struct Args { /// By default, status information is only shown if stderr is bound to a terminal and stdout is /// *not* bound to a terminal. The latter in particular prevents found keys (which are printed /// to stdin) from being "overwritten" by status information printed to stderr. - #[arg(long, value_enum, default_value_t)] + #[arg(long, value_enum, value_name = "WHEN", default_value_t)] status: StatusEnabled, /// Stop once the specified number of matching keys has been found.