[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)
commitc242be40a140df8959ce08bc6d593d9ee14ca319
treef82a3799e99dd46b871e4e42f9e526c3108f7332
parent46ec57e57605e92121d972438bff04bd694f74d5
[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

llvm-svn: 359909
clang/test/Driver/clang-offload-bundler.c
llvm/lib/Support/CommandLine.cpp
llvm/test/FileCheck/dump-input-enable.txt
llvm/test/Support/check-default-options.txt
llvm/unittests/Support/CommandLineTest.cpp