1
0
forked from bonsai/harakit

Makefile, swab(1): fixes swab build

This commit is contained in:
2024-06-29 07:49:47 -06:00
parent 6bd19c072d
commit cf5136d247
2 changed files with 3 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ fn main() -> ExitCode {
Ok("f") => force = true,
Ok("w") => {
if let Some(arg) = opt.arg() {
match opt.arg().parse::<usize>() {
match arg.parse::<usize>() {
Ok(w) if w % 2 == 0 => { wordsize = w; () },
_ => { return usage(&argv[0]); },
}