From 207d4ba7b7fe9844ddc54c8962a4ce0c7f6fb0ba Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Fri, 3 Jun 2022 08:52:00 +0200 Subject: sq: Derive revoke subcommand. - The changes in sq_usage.rs are formatting fixes. I avoided the additional effort of preserving formatting issues for the sake of exact equivalence. - This is part of the effort of moving to clap3's derive API and profit from the added type safety. --- sq/src/sq-usage.rs | 63 ++-- sq/src/sq_cli.rs | 833 +++++++++++++++++++++++++++++------------------------ 2 files changed, 475 insertions(+), 421 deletions(-) (limited to 'sq') diff --git a/sq/src/sq-usage.rs b/sq/src/sq-usage.rs index e80dcde5..96e63f09 100644 --- a/sq/src/sq-usage.rs +++ b/sq/src/sq-usage.rs @@ -1653,7 +1653,6 @@ //! ### Subcommand revoke certificate //! //! ```text -//! //! Revokes a certificate //! //! Creates a revocation certificate for the certificate. @@ -1734,21 +1733,17 @@ //! Print help information //! //! --notation -//! //! Adds a notation to the certification. A user-defined notation's -//! name -//! must be of the form "name@a.domain.you.control.org". If the +//! name must be of the form "name@a.domain.you.control.org". If the //! notation's name starts with a !, then the notation is marked as -//! being -//! critical. If a consumer of a signature doesn't understand a -//! critical -//! notation, then it will ignore the signature. The notation is marked -//! as being human readable. +//! being critical. If a consumer of a signature doesn't understand a +//! critical notation, then it will ignore the signature. The notation +//! is marked as being human readable. //! //! --private-key-store //! Provides parameters for private key store //! -//! --revocation-key +//! --revocation-key //! //! Signs the revocation certificate using KEY. If the key is different //! from the certificate, this creates a third-party revocation. If @@ -1758,7 +1753,6 @@ //! then that key is used to sign the revocation certificate. //! //! -t, --time