Skip to content

Commit add672d

Browse files
committed
uefi: Fix incorrect error messages
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent f23788f commit add672d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • framework_lib/src/commandline

framework_lib/src/commandline/uefi.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ pub fn parse(args: &[String]) -> Cli {
406406
None
407407
}
408408
} else {
409-
println!("Need to provide a value for --tablet-mode. One of: `auto`, `tablet` or `laptop`");
409+
println!("Need to provide a value for --ps2-enable. Must be `true` or `false`");
410410
None
411411
};
412412
found_an_option = true;
@@ -521,7 +521,7 @@ pub fn parse(args: &[String]) -> Cli {
521521
Some(Some(delay))
522522
}
523523
} else {
524-
println!("Invalid value for --fp-brightness. Must be amount in seconds >0");
524+
println!("Invalid value for --ec-hib-delay. Must be amount in seconds >0");
525525
None
526526
}
527527
} else {
@@ -724,7 +724,7 @@ pub fn parse(args: &[String]) -> Cli {
724724
None
725725
}
726726
} else {
727-
println!("--pd-ports requires two arguments, one for each port");
727+
println!("--pd-ports requires three arguments, one for each port");
728728
None
729729
};
730730
found_an_option = true;
@@ -793,7 +793,7 @@ pub fn parse(args: &[String]) -> Cli {
793793
None
794794
}
795795
} else {
796-
println!("Need to provide a value for --console. Possible values: bios, ec, pd0, pd1, rtm01, rtm23, ac-left, ac-right");
796+
println!("Need to provide a value for --device. Possible values: bios, ec, pd0, pd1, rtm01, rtm23, ac-left, ac-right");
797797
None
798798
};
799799
found_an_option = true;

0 commit comments

Comments
 (0)