Fix the sense of the --no-reset flag

The argument was set to 'SetFalse', so when present was setting the bool
to false, but the test was also negated, so reset was opposite of
desired.
This commit is contained in:
Keenan Tims 2023-11-06 19:31:28 -08:00
parent c53a940ca5
commit eda224c64d
Signed by: ktims
GPG Key ID: 11230674D69038D4

View File

@ -178,7 +178,7 @@ struct WriteArgs {
size: Option<u32>, size: Option<u32>,
/// Don't reset the microcontroller after writing /// Don't reset the microcontroller after writing
#[arg(short, long, action=ArgAction::SetFalse)] #[arg(short, long)]
no_reset: bool, no_reset: bool,
/// Erase method to use before writing /// Erase method to use before writing