Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Support some command line switches, especially -h / --help #29

Closed
siebenmann opened this issue Feb 23, 2018 · 0 comments
Closed

RFE: Support some command line switches, especially -h / --help #29

siebenmann opened this issue Feb 23, 2018 · 0 comments

Comments

@siebenmann
Copy link

Right now rink takes all command line argument(s) as a file to load, and it doesn't deal very well if the file isn't there, perhaps because you innocently tried to use -h to see if there was any command line usage help:

$ rink -h
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 2, message: "No such file or directory" } }', src/libcore/result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

It would be nice if rink supported -h / --help, and also perhaps --version, especially if one or the other reported the URL of the repository (so I could remember to check it every so often for new versions).

tiffany352 added a commit that referenced this issue Nov 21, 2018
Handle command line arguments, addresses #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants