Use imperative mood to describe the cert and user ID designators.

This commit is contained in:
Justus Winter 2024-10-17 18:47:49 +02:00
parent 75577c65c0
commit 361e68a248
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386
2 changed files with 11 additions and 11 deletions

View File

@ -382,7 +382,7 @@ where
.value_name("FINGERPRINT|KEYID")
.value_parser(parse_as_key_handle)
.action(action.clone())
.help("Uses certificates with the specified \
.help("Use certificates with the specified \
fingerprint or key ID"));
arg_group = arg_group.arg(full_name);
}
@ -394,7 +394,7 @@ where
.long(&full_name)
.value_name("USERID")
.action(action.clone())
.help("Uses certificates with the specified user ID"));
.help("Use certificates with the specified user ID"));
arg_group = arg_group.arg(full_name);
}
@ -406,7 +406,7 @@ where
.value_name("EMAIL")
.value_parser(parse_as_email)
.action(action.clone())
.help("Uses certificates where a user ID includes \
.help("Use certificates where a user ID includes \
the specified email address"));
arg_group = arg_group.arg(full_name);
}
@ -419,7 +419,7 @@ where
.value_name("DOMAIN")
.value_parser(parse_as_domain)
.action(action.clone())
.help("Uses certificates where a user ID includes \
.help("Use certificates where a user ID includes \
an email address for the specified domain"));
arg_group = arg_group.arg(full_name);
}
@ -431,7 +431,7 @@ where
.long(&full_name)
.value_name("PATTERN")
.action(action.clone())
.help("Uses certificates with a user ID that \
.help("Use certificates with a user ID that \
matches the pattern, case insensitively"));
arg_group = arg_group.arg(full_name);
}
@ -445,7 +445,7 @@ where
.value_name("PATH")
.value_parser(clap::value_parser!(PathBuf))
.action(action.clone())
.help("Reads certificates from PATH"));
.help("Read certificates from PATH"));
arg_group = arg_group.arg(full_name);
}

View File

@ -210,7 +210,7 @@ where
.long(&full_name)
.value_name("USERID")
.action(action.clone())
.help("Uses the specified user ID"));
.help("Use the specified user ID"));
arg_group = arg_group.arg(full_name);
}
@ -222,7 +222,7 @@ where
.value_name("EMAIL")
.value_parser(parse_as_email)
.action(action.clone())
.help("Uses the specified email address"));
.help("Use the specified email address"));
arg_group = arg_group.arg(full_name);
}
@ -234,7 +234,7 @@ where
.requires(&group)
.action(clap::ArgAction::SetTrue)
.help("\
Uses all self-signed user IDs"));
Use all self-signed user IDs"));
arg_group = arg_group.arg(full_name);
}
@ -246,9 +246,9 @@ Uses all self-signed user IDs"));
.requires(&group)
.action(clap::ArgAction::SetTrue)
.help("\
Uses the given user ID even if it isn't a self-signed user ID")
Use the given user ID even if it isn't a self-signed user ID")
.long_help("\
Uses the given user ID even if it isn't a self-signed user ID.
Use the given user ID even if it isn't a self-signed user ID.
Because certifying a user ID that is not self-signed is often a \
mistake, you need to use this option to explicitly opt in. That said, \