-
Notifications
You must be signed in to change notification settings - Fork 256
Implement ---version command line option #304
Comments
related issue rust-lang/rust#41197 |
Which should we use to implement this? |
How do you think about it? |
You could use getopts if you like - I would personally just manually check for |
I faced to these problems 😢 1. If I add then rustc happening following compile error:
2. If I use
I'll just check |
That looks like there's two different versions of getopts. What I've done to solve this kind of issue is install cargo tree and then run |
This indirect dependency However, What is the better way to resolve this complex puzzle? |
I would not use getopts and parse the command line arguments manually (long term we might need to do something else). |
Fixed by #308 |
We cannot know what version is running without
--version
. This is pretty important to trouble shooting.The text was updated successfully, but these errors were encountered: