SkwalExe/linux-on-drugs

-b option not working

Closed this issue · 2 comments

Line 87 when checking if an argument is specified after -b

if args.len() > 1 {
               println!(
                  "{}[ x ] : Error: Argument needed after -b/--block-size{}",
                  RED, RESET
               );
               process::exit(1);
}

the condition should be args.len() < 2

this bug will be fixed in the next version

Hi @SkwalExe Thanks for opening this issue 🎉 You should receive a response soon.

Just found out this bug isn't only with the -b option but with every options