ttyper
ttyper copied to clipboard
Ttyper panicks when entering a wrong path
I tried to use ttyper for the first time and so I tried to see the help section to see a bit what are the args of the program.
I misstyped the help option so i typed :
./ttyper help
and I got the following panick :
thread 'main' panicked at src/main.rs:80:53:
Error reading language file.: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Shouldn't the program exit with a code error and a message displaying the error but without panicking ?