From 6805c900b9ccce141b9cdec45269d63725c8bdd1 Mon Sep 17 00:00:00 2001 From: Tyler Fanelli Date: Tue, 26 Nov 2024 22:36:22 -0500 Subject: [PATCH] key: Fix guest_field_select typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `guest_field_select` argument was improperly named `guest_file_select`. Reported-by: Alexandre Adomnicăi Signed-off-by: Tyler Fanelli --- src/key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/key.rs b/src/key.rs index 956479f..d6b886f 100644 --- a/src/key.rs +++ b/src/key.rs @@ -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, /// Specify the guest SVN to mix into the key. Must not exceed the guest SVN provided at launch in the ID block.