[PATCH] D106037: [llvm-readobj] Remove one-dash long options

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 00:46:56 PDT 2021


jhenderson added a comment.

Is there anything in the docs that needs updating, or has that all been taken care of now?



================
Comment at: llvm/tools/llvm-readobj/Opts.td:4
 class F<string letter, string help> : Flag<["-"], letter>, HelpText<help>;
 class FF<string name, string help> : Flag<["--", "-"], name>, HelpText<help>;
 
----------------
I might be being dumb, but don't you need to remove the `"-"` from here too? Otherwise, many options will still allow a single-dash, as far as I can tell (e.g. `-addrsig`, `-all` etc).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106037



More information about the llvm-commits mailing list