diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-05 22:44:07 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-05-15 23:04:09 +1000 |
| commit | b1ee3200b52a87ba788a6edf3b14db9466f2cb7d (patch) | |
| tree | 497aff49c6226142b730220f84e0dd3e0192e461 /src/rustllvm/RustWrapper.cpp | |
| parent | 19f9181654ec71754c8528dd37075643d95947c4 (diff) | |
| download | rust-b1ee3200b52a87ba788a6edf3b14db9466f2cb7d.tar.gz rust-b1ee3200b52a87ba788a6edf3b14db9466f2cb7d.zip | |
test: ensure that the extended usage description gets printed.
Previously the longer hand-written usage string was never being printed: theoretically it was trying to detect when precisely `--help` was passed (but not `-h`), but the getopts framework was considering a check for the presence of `-h` to be a check for that of `--help` too, i.e. the code was always going through the `-h` path. This changes it to print the extended usage for both `-h` and `--help`, meaning that it does actually appear correctly.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
