-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo and rustc have inconsistent version flags #690
Comments
There is long practive to use |
It seems to me, that more programs use -v to get the version.
|
Another weird thing I ran into with cargo v.s. rust handling of --version is that cargo's version is printed to stderr, a side effect of using docopt I suspect; while rustc's version goes to stdout. |
More languages which use
and
and
|
And all of the above except |
@EdorianDark both clang and gcc use |
Looks like this has been resolved in rust-lang/rust#19900. |
Indeed. |
Yes, thanks! |
Cargo -V and rustc -v both print version information. Since the two tools are so related, having consistent flags seems like the right thing to do.
Cargo uses -v for verbose. Rustc does not use -V.
I am filing this bug against both cargo & rustc. See rust-lang/rust#17938
The text was updated successfully, but these errors were encountered: