Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-b option not working #6

Closed
SkwalExe opened this issue Apr 6, 2022 · 2 comments · Fixed by #9
Closed

-b option not working #6

SkwalExe opened this issue Apr 6, 2022 · 2 comments · Fixed by #9
Assignees
Labels
bug Something isn't working

Comments

@SkwalExe
Copy link
Owner

SkwalExe commented Apr 6, 2022

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

@SkwalExe SkwalExe added the bug Something isn't working label Apr 6, 2022
@SkwalExe SkwalExe self-assigned this Apr 6, 2022
@SkwalExe SkwalExe added this to 💠 To do in 💠 todo Apr 6, 2022
@github-actions
Copy link

github-actions bot commented Apr 6, 2022

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

@SkwalExe
Copy link
Owner Author

SkwalExe commented Apr 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant