mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pvsecret: Sync man and help
The output of --help and man pages got out of sync. Apply changes to the help output to fix this. Acked-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
94942a48ab
commit
3d2ba5aaed
@@ -30,15 +30,15 @@ pub struct CertificateOptions {
|
||||
/// Disable the host-key document verification.
|
||||
///
|
||||
/// Does not require the host-key documents to be valid.
|
||||
/// Do not use for a production request unless you verified the host-key document before.
|
||||
/// Do not use for a production request unless you verified the host-key document beforehand.
|
||||
#[arg(long)]
|
||||
pub no_verify: bool,
|
||||
|
||||
/// Use FILE as a certificate to verify the host-key(s).
|
||||
/// Use FILE as a certificate to verify the host key or keys.
|
||||
///
|
||||
/// The certificates are used to establish a chain of trust for the verification
|
||||
/// of the host-key documents. Specify this option twice to specify the IBM Z signing key and
|
||||
/// the intermediate CA certificate (signed by the rootCA).
|
||||
/// the intermediate CA certificate (signed by the root CA).
|
||||
#[arg(
|
||||
short= 'C',
|
||||
long = "cert",
|
||||
@@ -52,7 +52,7 @@ pub struct CertificateOptions {
|
||||
|
||||
/// Use FILE as a certificate revocation list.
|
||||
///
|
||||
/// That list is used to check whether a certificate of the chain of
|
||||
/// The list is used to check whether a certificate of the chain of
|
||||
/// trust is revoked. Specify this option multiple times to use multiple CRLs.
|
||||
#[arg(
|
||||
long = "crl",
|
||||
@@ -70,7 +70,7 @@ pub struct CertificateOptions {
|
||||
|
||||
/// Use FILE as the root-CA certificate for the verification.
|
||||
///
|
||||
/// If omitted, the system wide root CAs installed on the system are used.
|
||||
/// If omitted, the system wide-root CAs installed on the system are used.
|
||||
/// Use this only if you trust the specified certificate.
|
||||
#[arg(long, requires("certs"))]
|
||||
pub root_ca: Option<String>,
|
||||
|
||||
@@ -117,10 +117,14 @@ pub struct CreateSecretOpt {
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
pub enum AddSecretType {
|
||||
/// Create a meta secret.
|
||||
///
|
||||
/// Use a meta secret to carry flags to the ultravisor without having to provide an actual
|
||||
/// secret value. Meta secrets do not appear in the list of secrets.
|
||||
Meta,
|
||||
|
||||
/// Create an association secret.
|
||||
///
|
||||
/// Use an association secret to connect a trusted I/O device to a guest. The `pvapconfig` tool
|
||||
/// provides more information about association secrets.
|
||||
Association {
|
||||
@@ -132,7 +136,7 @@ pub enum AddSecretType {
|
||||
|
||||
///Print the hashed name to stdout.
|
||||
///
|
||||
///The hashed name will not be written to `NAME.yaml`
|
||||
///The hashed name is not written to `NAME.yaml`
|
||||
#[arg(long)]
|
||||
stdout: bool,
|
||||
|
||||
@@ -196,7 +200,7 @@ pub enum Command {
|
||||
/// the use case depending on the secret type.
|
||||
Create(Box<CreateSecretOpt>),
|
||||
|
||||
/// Repeat an add-secret request (s390x only).
|
||||
/// Perform an add-secret request (s390x only).
|
||||
///
|
||||
/// Perform an add-secret request using a previously generated add-secret request. Only
|
||||
/// available on s390x.
|
||||
|
||||
Reference in New Issue
Block a user