Skip to content

Ttyper panicks when entering a wrong path #154

Description

@InsulinJunkie

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions