Corrected and simplified the help text.
It was clearly too difficult to maintain before (see e.g. @227296) making it simpler and more consistent it should help people keep it up to date.
- I took the description from https://llvm.org/docs/CommandGuide/llvm-ar.html.
- I removed the "count" positional argument only used by removed "N" modifier.
- It is pretty clear from the modifier description which modifiers apply to which operations, so I removed the (currently incorrect) list of modifiers from each operation.
- Removed the distinction between generic and specific modifiers. This is artificial anyway - for example the "c" modifier is currently listed as generic but only applies some operations.
- Used "archive" rather than "library" - more correct (library is a subset of archive).
- Used "files" rather than "members" - for consistency with the rest of the help text.
- "s" is both an operation key letter and a modifier.
- Added all the accepted modifiers to the list.
- Used a consistent rule that if something is in square brackets in the usage text then it is written with square brackets in the rest of the help text.
llvm-ar is not only similar but is actually an ar command, no?