diff --git a/rust/pvattest/man/pvattest-create.1 b/rust/pvattest/man/pvattest-create.1 index bf6f0020..bdb497f5 100644 --- a/rust/pvattest/man/pvattest-create.1 +++ b/rust/pvattest/man/pvattest-create.1 @@ -75,7 +75,7 @@ Write the generated request to FILE. .RE .RE .PP -\-\-arpk +\-a, \-\-arpk .RS 4 Save the protection key as unencrypted GCM-AES256 key in FILE Do not publish this key, otherwise your attestation is compromised. diff --git a/rust/pvattest/man/pvattest-verify.1 b/rust/pvattest/man/pvattest-verify.1 index 0a527b2a..8c445b99 100644 --- a/rust/pvattest/man/pvattest-verify.1 +++ b/rust/pvattest/man/pvattest-verify.1 @@ -45,7 +45,7 @@ must start at a page boundary. .RE .RE .PP -\-\-arpk +\-a, \-\-arpk .RS 4 Use FILE as the protection key to decrypt the request Do not publish this key, otherwise your attestation is compromised. Delete this key after verification. diff --git a/rust/pvattest/src/cli.rs b/rust/pvattest/src/cli.rs index 6582331a..919bf643 100644 --- a/rust/pvattest/src/cli.rs +++ b/rust/pvattest/src/cli.rs @@ -97,7 +97,7 @@ pub struct CreateAttOpt { /// Save the protection key as unencrypted GCM-AES256 key in FILE /// /// Do not publish this key, otherwise your attestation is compromised. - #[arg(long, value_name = "FILE", value_hint = ValueHint::FilePath,)] + #[arg(short, long, value_name = "FILE", value_hint = ValueHint::FilePath,)] pub arpk: String, /// Specify-additional data for the request. @@ -222,7 +222,7 @@ pub struct VerifyOpt { /// /// Do not publish this key, otherwise your attestation is compromised. /// Delete this key after verification. - #[arg(long, value_name = "FILE", value_hint = ValueHint::FilePath,)] + #[arg(short, long, value_name = "FILE", value_hint = ValueHint::FilePath,)] pub arpk: String, /// Define the output format.