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:
parent
c53a940ca5
commit
eda224c64d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user