Skip to content

Commit

Permalink
Restore filtering of arguments in stevedore/map-to-arg-string
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoduncan committed Apr 21, 2011
1 parent f7d7746 commit 8b5afa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pallet/stevedore.clj
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@
(apply
str (interpose
" "
(map #(arg-string
(first %) (second %) underscore assign dash)
m))))
(map
#(arg-string (key %) (val %) underscore assign dash)
(filter val m)))))

(defn option-args
"Output a set of command line switches from a sequence of options"
Expand Down

0 comments on commit 8b5afa0

Please sign in to comment.