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:
Steffen Eiden
2024-01-30 12:56:08 +01:00
committed by Jan Höppner
parent 94942a48ab
commit 3d2ba5aaed
2 changed files with 11 additions and 7 deletions
+6 -2
View File
@@ -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.