This is an archive of the discontinued LLVM Phabricator instance.

Fix program name in "clang -help"
ClosedPublic

Authored by sgundapa on Feb 27 2015, 11:53 AM.

Details

Summary

With out this patch,
"clang -help" prints "USAGE: clang-3 [options] <inputs>".
It should either print
USAGE: clang [options] <inputs>
or

USAGE: clang-3.7 [options] <inputs>

With this patch, on Linux, it prints
USAGE: clang-3.7 [options] <inputs>

On Windows, it prints
USAGE: clang.exe [options] <inputs>

Diff Detail

Event Timeline

sgundapa updated this revision to Diff 20878.Feb 27 2015, 11:53 AM
sgundapa retitled this revision from to Fix program name in "clang -help".
sgundapa updated this object.
sgundapa edited the test plan for this revision. (Show Details)
sgundapa added a reviewer: rengolin.
sgundapa added a reviewer: weimingz.
sgundapa added a subscriber: Unknown Object (MLST).
mcrosier accepted this revision.Mar 2 2015, 12:18 PM
mcrosier added a reviewer: mcrosier.
This revision is now accepted and ready to land.Mar 2 2015, 12:18 PM
weimingz accepted this revision.Mar 2 2015, 12:58 PM
weimingz edited edge metadata.
sgundapa closed this revision.Mar 3 2015, 12:55 PM

committed as r231124