swab(1): don't use the getopt error message

This commit is contained in:
dtb 2024-07-08 11:31:35 -06:00
parent a141b95293
commit 35d54d84b0
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -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() {