Skip to content

Commit

Permalink
Update preattestation.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Evstifeev <[email protected]>
  • Loading branch information
Villain88 authored and tylerfanelli committed Jan 23, 2025
1 parent 0caf470 commit 032336e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preattestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mod measurement {
/// Milan-v1, EPYC-Milan-v2, EPYC-Genoa, EPYC-Genoa-v1)
#[arg(long, value_name = "vcpu-type",
conflicts_with_all = ["vcpu_sig", "vcpu_family", "vcpu_model", "vcpu_stepping"],
required_unless_present_all(["vcpu_sig", "vcpu_family", "vcpu_model", "vcpu_stepping"],
required_unless_present_any(["vcpu_sig", "vcpu_family", "vcpu_model", "vcpu_stepping"],
), ignore_case = true)]
pub vcpu_type: Option<String>,

Expand Down

0 comments on commit 032336e

Please sign in to comment.