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

Andres Villegas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 8 10:46:40 PST 2023


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

With this changes, new lines in the HelpText defined
in OptTable have the same indentation as the first line.

Before, the help output will look something like:

```
--color=<value>       Whether to use color when
symbolizing log markup: always, auto, never
```

With this change:

```
--color=<value>       - Whether to use color when
                        symbolizing log markup: always, auto, never
```

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.





More information about the llvm-branch-commits mailing list