Skip to content

Commit

Permalink
main: Fixed a missing type specification for `--windows-wdi-install-m…
Browse files Browse the repository at this point in the history
…ode`

The missing specification results in a crash in the elevated privilege process and exit with code 101
  • Loading branch information
dragonmux authored and esden committed Sep 25, 2023
1 parent 2cfa609 commit 04dd197
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ fn main()
.arg(Arg::new("windows-wdi-install-mode")
.long("windows-wdi-install-mode")
.required(false)
.value_parser(u32::from_str)
.action(ArgAction::Set)
.global(true)
.hide(true)
Expand Down

0 comments on commit 04dd197

Please sign in to comment.