Skip to content

Commit

Permalink
key: Fix guest_field_select typo
Browse files Browse the repository at this point in the history
The `guest_field_select` argument was improperly named
`guest_file_select`.

Reported-by: Alexandre Adomnicăi
Signed-off-by: Tyler Fanelli <[email protected]>
  • Loading branch information
tylerfanelli committed Nov 27, 2024
1 parent 1c298a9 commit 6805c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct KeyArgs {

/// Specify which Guest Field Select bits to enable. It is a 6 digit binary string. For each bit, 0 denotes off and 1 denotes on.
/// The least significant (rightmost) bit is Guest Policy followed by Image ID, Family ID, Measurement, SVN, TCB Version which is the most significant (leftmost) bit.
#[arg(short, long = "guest_file_select", value_name = "######")]
#[arg(short, long = "guest_field_select", value_name = "######")]
pub gfs: Option<String>,

/// Specify the guest SVN to mix into the key. Must not exceed the guest SVN provided at launch in the ID block.
Expand Down

0 comments on commit 6805c90

Please sign in to comment.