[PATCH] D57030: [CommandLine] Don't print empty sentinel values from EnumValN lists in help text

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 16:28:13 PST 2019


ruiu added a comment.

Ideally I believe we should print out something like this for an option that takes an optional argument:

  -mhvx                                            - Enable Hexagon Vector eXtensions
  -mhvx=<value>                                    - Enable Hexagon Vector eXtensions
     =v60                                           -   Build for HVX v60
     =v62                                           -   Build for HVX v62
     =v65                                           -   Build for HVX v65
     =v66                                           -   Build for HVX v66

Do you think that's doable?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57030/new/

https://reviews.llvm.org/D57030





More information about the llvm-commits mailing list