[llvm-commits] [PATCH][docs/CommandGuide] Reveal there is a "-help-hidden" option for opt command

Duncan Sands baldrick at free.fr
Mon Oct 24 01:29:56 PDT 2011


Hi chenwj,

>    I think it's a good idea to tell people there is a "-help-hidden"
> which shows more available options for `opt` command. For example,
> people might need to control how inline is done by `opt` but don't
> know there is "-inline-threshold" option which only appears with
> "-help-hidden" (see the link below).

I think it would be best to make -inline-threshold not be hidden.  I suspect
there are a bunch of hidden options that shouldn't be hidden, and a bunch of
not hidden options that should be hidden.  I think you shouldn't hesitate to
send patches that change the hidden flag.

Ciao, Duncan.



More information about the llvm-commits mailing list