Permalink
Browse files

collect trailing args only

  • Loading branch information...
gar3thjon3s committed Oct 24, 2011
1 parent 75969c8 commit 16d8f6365974663b25f82a19fe20c1d4c08a2586
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/clojure/tools/cli.clj
@@ -70,7 +70,7 @@
(drop 2 args))
:default
- (recur (update-in result [:args] conj (first args)) (rest args)))))))
+ (recur (assoc result :args args) nil))))))
(defn switches-for
[switches flag]

0 comments on commit 16d8f63

Please sign in to comment.