]> granicus.if.org Git - clang/commit
[CommandLine] Change help output to prefix long options with `--` instead of `-`...
authorDon Hinton <hintonda@gmail.com>
Fri, 3 May 2019 17:47:29 +0000 (17:47 +0000)
committerDon Hinton <hintonda@gmail.com>
Fri, 3 May 2019 17:47:29 +0000 (17:47 +0000)
commit3814a37959fc1491f75e62e6912aa5386630fbb0
tree82dd8ec89a759643c252833f7cbf23b28b983dfd
parent54eb12a115eb4fbdc59b1335d721d0415ca1f7a8
[CommandLine] Change help output to prefix long options with `--` instead of `-`. NFC . Part 3 of 5

Summary:
By default, `parseCommandLineOptions()` will accept either a
`-` or `--` prefix for long options -- options with names longer than
a single character.

While this change does not affect behavior, it will be helpful with a
subsequent change that requires long options use the `--` prefix.

Reviewers: rnk, thopre

Reviewed By: thopre

Subscribers: thopre, cfe-commits, hiraditya, llvm-commits

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D61269

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359909 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/clang-offload-bundler.c