docs: improve command help

This commit is contained in:
nelsbrock committed 2026-09-22 22:50:51 +02:00
1 parent c22d4bdb27
commit b1cab3c4fe
1 file changed
+3 -3
+3 -3
View File
@@ -14,8 +14,8 @@ use sequoia_openpgp::packet::UserID;
struct Args { struct Args {
/// Filter key fingerprints by using a regular expression. /// Filter key fingerprints by using a regular expression.
/// ///
/// This regex is matched against the hexadecimal representation of the fingerprint, without /// This regex is matched against the upper-case hexadecimal representation of the fingerprint,
/// spaces or other additional symbols. /// without spaces or other additional symbols.
/// ///
/// This is implemented using the fancy-regex library: <https://crates.io/crates/fancy-regex>. /// This is implemented using the fancy-regex library: <https://crates.io/crates/fancy-regex>.
/// You can test and debug your regex here: <https://fancy-regex.github.io/fancy-regex/>. /// You can test and debug your regex here: <https://fancy-regex.github.io/fancy-regex/>.
@@ -27,7 +27,7 @@ struct Args {
/// By default, status information is only shown if stderr is bound to a terminal and stdout is /// 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 /// *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. /// 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, status: StatusEnabled,
/// Stop once the specified number of matching keys has been found. /// Stop once the specified number of matching keys has been found.