[PATCH] D48577: [llvm-ar] Correct help text

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 28 04:35:21 PDT 2018


ruiu added inline comments.


================
Comment at: tools/llvm-ar/llvm-ar.cpp:68
 
-  This program archives bitcode files into single libraries
+  This program is similar to the common Unix utility, ar. 
+  It archives several files together into a single file.
----------------
llvm-ar is not only similar but is actually an ar command, no?


================
Comment at: tools/llvm-ar/llvm-ar.cpp:72
+USAGE: llvm-ar [options] [-]<operation>[modifiers] [relpos] <archive> [files]
+       llvm-ar -M [<mri-script]
 
----------------
Half-open `<`.


================
Comment at: tools/llvm-ar/llvm-ar.cpp:100
+  [i] - put [files] before [relpos] (same as [b])
+  [l] - Ignored for compatibility
   [o] - preserve original dates
----------------
Only this line starts with an uppercase letter.


https://reviews.llvm.org/D48577





More information about the llvm-commits mailing list