[PATCH] D67560: [llvm-ar] Add operation 'h': display help and exit

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 14 05:05:33 PDT 2019


grimar added inline comments.


================
Comment at: tools/llvm-ar/llvm-ar.cpp:79
   --plugin=<string>     - Ignored for compatibility
   --help                - Display available options
   --version             - Display the version of this program
----------------
Should it be updated?


================
Comment at: tools/llvm-ar/llvm-ar.cpp:289
+      exit(0);
+      break;
     case 'd':
----------------
Shouldn't it be in `handleGenericOption` together with another `-help`-like things?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67560





More information about the llvm-commits mailing list