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>
Thu, 1 Mar 2012 08:30:45 +0000 (09:30 +0100)
commit8d0391c50b8205ea6388cba13c16c09c18e57974
treec226efb2d6de6164b017cf40de3276a9d61b3e2e
parent525f16c3a5b0d3141bcd92c5b9d7d715f9feffde
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