Skip to content

Commit d733ec8

Browse files
TapFWJohnAZoidberg
authored andcommitted
--flash-ec: fix mispelled flag in advisory
The actual flag is --flash-rw-ec, not --flash-ec-rw Signed-off-by: Tapani Utriainen <tap@frame.work>
1 parent 0708ef0 commit d733ec8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • framework_lib/src/commandline

‎framework_lib/src/commandline/mod.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,13 +2332,13 @@ pub fn run_with_args(args: &Cli, _allupdate: bool) -> i32 {
23322332
if args.force {
23332333
flash_ec(&ec, ec_bin_path, EcFlashType::Both, args.dry_run);
23342334
} else {
2335-
error!("Flashing EC RO region is unsafe. Use --flash-ec-rw instead");
2335+
error!("Flashing EC RO region is unsafe. Use --flash-rw-ec instead");
23362336
}
23372337
} else if let Some(ec_bin_path) = &args.flash_ro_ec {
23382338
if args.force {
23392339
flash_ec(&ec, ec_bin_path, EcFlashType::Ro, args.dry_run);
23402340
} else {
2341-
error!("Flashing EC RO region is unsafe. Use --flash-ec-rw instead");
2341+
error!("Flashing EC RO region is unsafe. Use --flash-rw-ec instead");
23422342
}
23432343
} else if let Some(ec_bin_path) = &args.flash_rw_ec {
23442344
flash_ec(&ec, ec_bin_path, EcFlashType::Rw, args.dry_run);

0 commit comments

Comments
 (0)