summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-28 17:07:10 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-28 17:43:57 +0100
commit76d171f1520cf4ec92138ca85039133224685fd1 (patch)
tree49caeac14571711de98777a5b96febb35f6ca141
parente47fa935dc201a481b107edafc1f5ee1d310680c (diff)
sq: Rename --to-certificate to --to-cert.
-rw-r--r--sq/src/sq-usage.rs4
-rw-r--r--sq/src/sq_cli.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/sq/src/sq-usage.rs b/sq/src/sq-usage.rs
index bd51059b..46561f6f 100644
--- a/sq/src/sq-usage.rs
+++ b/sq/src/sq-usage.rs
@@ -726,7 +726,7 @@
//! -P, --prune-certs
//! Removes certificate components not matching the filter
//!
-//! --to-certificate
+//! --to-cert
//! Converts any keys in the input to certificates. Converting a key to
//! a certificate removes secret key material from the key thereby
//! turning it into a certificate.
@@ -756,7 +756,7 @@
//! EXAMPLES:
//!
//! # Converts a key to a cert (i.e., remove any secret key material)
-//! $ sq keyring filter --to-certificate cat juliet.pgp
+//! $ sq keyring filter --to-cert cat juliet.pgp
//!
//! # Gets the keys with a user id on example.org
//! $ sq keyring filter --domain example.org keys.pgp
diff --git a/sq/src/sq_cli.rs b/sq/src/sq_cli.rs
index 8a4a1d6e..cfa5e366 100644
--- a/sq/src/sq_cli.rs
+++ b/sq/src/sq_cli.rs
@@ -681,7 +681,7 @@ inspiration.
"EXAMPLES:
# Converts a key to a cert (i.e., remove any secret key material)
-$ sq keyring filter --to-certificate cat juliet.pgp
+$ sq keyring filter --to-cert cat juliet.pgp
# Gets the keys with a user id on example.org
$ sq keyring filter --domain example.org keys.pgp
@@ -726,7 +726,7 @@ $ sq keyring filter --domain example.org --prune-certs certs.pgp
.short("B").long("binary")
.help("Emits binary data"))
.arg(Arg::with_name("to-certificate")
- .long("to-certificate")
+ .long("to-cert")
.help("Converts any keys in the input to \
certificates. Converting a key to a \
certificate removes secret key material \