Update main.rs

Help explanation is saying the opposite meaning of the flag:

    -w, --without-boot2    With boot2

Expected is:

    -w, --without-boot2    Without boot2
This commit is contained in:
Rafa Couto 2020-12-13 04:29:39 +01:00 committed by imspace
parent 0018374ab2
commit c7e23256b8

View File

@ -38,7 +38,7 @@ struct Boot2Opt {
/// Path to efuse_bootheader_cfg.conf /// Path to efuse_bootheader_cfg.conf
#[structopt(parse(from_os_str))] #[structopt(parse(from_os_str))]
boot_header_cfg: Option<PathBuf>, boot_header_cfg: Option<PathBuf>,
/// With boot2 /// Without boot2
#[structopt(short, long)] #[structopt(short, long)]
without_boot2: bool, without_boot2: bool,
} }