Skip to content
This repository
Browse code

Revert "collect trailing args only"

This reverts commit 16d8f63.
  • Loading branch information...
commit 6e2d7b37c1bedd2ba922e3f113990cc8a79a2d30 1 parent 16d8f63
Gareth Jones authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/main/clojure/clojure/tools/cli.clj
2  src/main/clojure/clojure/tools/cli.clj
@@ -70,7 +70,7 @@
70 70
                 (drop 2 args))
71 71
 
72 72
          :default
73  
-         (recur (assoc result :args args) nil))))))
  73
+         (recur (update-in result [:args] conj (first args)) (rest args)))))))
74 74
 
75 75
 (defn switches-for
76 76
   [switches flag]

0 notes on commit 6e2d7b3

Please sign in to comment.
Something went wrong with that request. Please try again.