[PATCH] D61269: [CommandLine] Change help output to prefix long options with `--` instead of `-`. NFC

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 10:28:55 PDT 2019


hintonda created this revision.
hintonda added a reviewer: rnk.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61269

Files:
  llvm/lib/Support/CommandLine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61269.197140.patch
Type: text/x-patch
Size: 4084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/cab47e1b/attachment.bin>


More information about the llvm-commits mailing list