scripts: recognize the "q", "s" and "S" actions/modifiers in ar-lib
authorPeter Rosin <peda@lysator.liu.se>
Thu, 1 Mar 2012 08:30:45 +0000 (09:30 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Fri, 2 Mar 2012 11:01:07 +0000 (12:01 +0100)
commit8be5d254bc1534436571aeeca0ad76bf6058e7f1
tree52ed9402bd9a5402311c8376c98a22d7433683d3
parentaadd78e9ce1407d49af2e690c2f230ef468fba82
scripts: recognize the "q", "s" and "S" actions/modifiers in ar-lib

* lib/ar-lib: Implement the "q" (quick) action as a synonym
for "r" (replace).  Ignore "s" (symbol index) and "S" (no symbol
index) when used as modifiers and "s" when used as a command,
there is simply no way for Microsoft lib to not update the
symbol table index in the archive.
(scriptversion): Update.
* tests/ar-lib.test: Check the added behavior.  Also add checks
for the recently added "u" (update) and "v" (verbose) modifiers.
lib/ar-lib
tests/ar-lib.test