clojure/tools.cli — pull request #5 by jedahu (2011-11-22 15:35:36+00:00)
Title: A :multi spec key for repeated options

Uses update-in and conj to update a vector value.

(first (cli ["-x" "1" "-x" "2"] ["-x" :multi true])) ; => {:x ["1" "2"]}