Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "collect trailing args only"

This reverts commit 16d8f63.
  • Loading branch information...
commit 6e2d7b37c1bedd2ba922e3f113990cc8a79a2d30 1 parent 16d8f63
@gar3thjon3s gar3thjon3s authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/clojure/clojure/tools/cli.clj
View
2  src/main/clojure/clojure/tools/cli.clj
@@ -70,7 +70,7 @@
(drop 2 args))
:default
- (recur (assoc result :args args) nil))))))
+ (recur (update-in result [:args] conj (first args)) (rest args)))))))
(defn switches-for
[switches flag]
Please sign in to comment.
Something went wrong with that request. Please try again.