Make -color-diagnostics an alias to -color-diagnostics=always.
authorRui Ueyama <ruiu@google.com>
Thu, 22 Dec 2016 08:20:28 +0000 (08:20 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 22 Dec 2016 08:20:28 +0000 (08:20 +0000)
commit8781c425b379e0da70de6b5ae5bf9abcdc822daf
treeac65110d4d584215960cac6da2a86f85b73ff35e
parent0d1d49507b74fac1dd6457d0e2d7e4fd5949fef4
Make -color-diagnostics an alias to -color-diagnostics=always.

Previously, that was an alias to -color-diagnostics=auto. However,
Clang's -fcolor-diagnostics is an alias to -fcolor-diagnostics=always,
so that was confusing. This patch fixes that issue.

llvm-svn: 290332
lld/ELF/DriverUtils.cpp
lld/ELF/Options.td
lld/test/ELF/color-diagnostics.test