[llvm-branch-commits] [clang] [llvm] [compiler-rt] [clang-tools-extra] [flang] [libc] [OptTable] Make new lines in help text respect indentation (PR #74880)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 12 10:34:22 PST 2023


MaskRay wrote:

> Note the "-" at the beginning of the help text in the new version,
> it was added to clearly separate the HelpText of the different
> options.


> Taking a step back, I'm not sure the addition of the dash has anything to do with the main purpose of this PR, and I'm a little worried people will not spot that this PR is adding it. I personally have no issue with that part of the change, but I wonder if others wouldn't want it?

I think `-` in `--help` messages is (very) uncommon. Many programs (`cat, node, gcc, as, 7z, ...`) don't use `-`.


https://github.com/llvm/llvm-project/pull/74880


More information about the llvm-branch-commits mailing list