flags #5

Merged
statzitz merged 5 commits from flags into main 2024-04-06 00:47:55 +02:00
Showing only changes of commit 89efeec505 - Show all commits

View file

@ -55,6 +55,10 @@ fn main() {
i += 1; i += 1;
} }
else { else {
if val.len() == 2 {
println!("sv: illegal option -- {}", val.chars().nth(1).unwrap() );
// TODO: thread NOT pannic if it is not an ASCII character.
}
parser::misc::usage(); parser::misc::usage();
exit(100); exit(100);
} }