swab(1): don't use the getopt error message
This commit is contained in:
parent
a141b95293
commit
35d54d84b0
@ -50,7 +50,7 @@ fn main() -> ExitCode {
|
||||
|
||||
let mut wordsize: usize = 2;
|
||||
|
||||
while let Some(opt) = argv.getopt("w:") {
|
||||
while let Some(opt) = argv.getopt(":w:") {
|
||||
match opt.opt() {
|
||||
Ok("w") => {
|
||||
if let Some(arg) = opt.arg() {
|
||||
|
Loading…
Reference in New Issue
Block a user