remove `dfu` subcommand from being parsed by `clap`

main
Roman Kretschmer 4 years ago
parent bca314c152
commit 8800b22edf
Signed by: gnxlxnxx
GPG Key ID: 354103A8B7289847

@ -16,7 +16,7 @@ fn main() {
// Get commandline options.
// Skip the first arg which is the calling application name.
let opt = Opt::parse_from(std::env::args());
let opt = Opt::parse_from(std::env::args().skip(1));
if opt.list_chips {
for vendor in vendor_map() {

Loading…
Cancel
Save