stris(1): fix silly mistakes

This commit is contained in:
dtb 2024-08-28 21:36:32 -06:00
parent cbf5032a22
commit 28f6d2508f
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -19,7 +19,7 @@
use std::{ use std::{
env::args, env::args,
process::ExitCode process::ExitCode,
}; };
extern crate getopt; extern crate getopt;
@ -30,7 +30,7 @@ use sysexits::EX_USAGE;
struct Reqs { struct Reqs {
ascii: bool, blank: bool, cntrl: bool, digit: bool, lower: bool, ascii: bool, blank: bool, cntrl: bool, digit: bool, lower: bool,
upper: bool, inuse: bool, extra: String::default() upper: bool, inuse: bool, extra: String
} }
fn usage(s: &str) -> ExitCode { fn usage(s: &str) -> ExitCode {