[Rust] A minimalistic, (essentially) POSIX-compliant option parser (https://crates.io/crates/getopt)

#4Create a custom Error type

Using ErrorKind::InvalidInput for everything is less than useful.