This is an archive of the discontinued LLVM Phabricator instance.

[Bash-autocompletion] Show flags which has HelpText or GroupID
ClosedPublic

Authored by yamaguchi on Jul 1 2017, 9:25 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

yamaguchi created this revision.Jul 1 2017, 9:25 PM
teemperor accepted this revision.Jul 1 2017, 11:40 PM

For the record, one can get a (maybe incomplete) list of options that are without completion via: curl "https://teemperor.de/pub/clang_flags.txt" | grep -v HelpText | grep -v Group.
The only options I can see that I would miss if they would disappear are the ones who are clearly meant to be public but just lack the HelpText (like our beloved sysroot, which is a public GCC flag). So I think this patch can go forward and someone will have to add a HelpText for those flags in the future.

This revision is now accepted and ready to land.Jul 1 2017, 11:40 PM

We are going to ask community which flags should be autocompleted or not, and tidy Options.td.

This revision was automatically updated to reflect the committed changes.