error: Unrecognized option: 'Help'

b3d1483
Opened by Abhay Kadam at 2014-01-23 13:11:30

getting unexpected failure on OS X 10.9.1 when some random option is passed to rustc.

my rustc session was:

$ rustc --Help
error: Unrecognized option: 'Help'.
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler. 
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
task 'rustc' failed at 'explicit failure', /Users/abhay/devel/rust/rust/src/librustc/driver/driver.rs:1137

and rustc -v returns:

$ rustc -v
rustc 0.10-pre (750d48b 2014-01-22 00:51:20 -0800)
host: x86_64-apple-darwin
  1. At the very least, the "Unrecognized option" error message should include some mention of the --help option to get a usage help message.

    Felix S Klock II at 2014-01-22 19:23:51