Improve sq key export's --help.

This commit is contained in:
Neal H. Walfield 2024-06-12 17:13:05 +02:00
parent c056d41319
commit 8587dd05cd
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3

View File

@ -412,24 +412,27 @@ pub struct ExportCommand {
#[clap(
long,
value_name = "FINGERPRINT|KEYID",
help = "Export the specified certificate",
long_help = "Export the specified certificate by iterating over the \
specified certificate's primary key and subkeys and \
exporting any keys with secret key material. An \
error is returned if the certificate does not contain \
any secret key material.",
help = "Export the specified certificate with its secret key material",
long_help = "\
Export the specified certificate with its secret key material.
Iterate over the specified certificate's primary key and subkeys and \
export any keys with secret key material. An error is returned if \
the certificate does not contain any secret key material.",
)]
pub cert: Vec<KeyHandle>,
#[clap(
long,
value_name = "FINGERPRINT|KEYID",
help = "Export the specified key",
long_help = "Export the specified key. The entire certificate is \
exported, but only the specified key's secret key \
material is exported. An error is returned if the \
secret key material for the specified key is not \
available.",
help = "\
Export the secret key material for the specified key, and its certificate",
long_help = "\
Export the specified key.
The entire certificate is exported, but only the specified key's \
secret key material is exported. An error is returned if the secret \
key material for the specified key is not available.",
)]
pub key: Vec<KeyHandle>,
}