Browse files

Improve wording of two printed messages

  • Loading branch information...
1 parent 34d6404 commit a14dc82b6958c55d5c36fd4e678734c6c6bb0544 @purcell purcell committed with Aug 9, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/leiningen/add.clj
@@ -87,9 +87,9 @@ with a numbered list of choices."
p (:root project)
res (first (find-clojar artifact))]
(if (empty? res)
- (println "Sorry nothing on clojar that matches" artifact (if version ""))
+ (println "Sorry; nothing on clojars that matches" artifact (if version ""))
(if (and version (not-any? (partial = version) (:versions res)))
- (println (str "Println sorry ther is no version " version " for " (artifact-name res) ". Try: " (str-join ", " (:versions res))))
+ (println "Sorry; there is no version" version "for" (artifact-name res) ". Try one of:" (str-join ", " (:versions res)))
(let [[a v] [(artifact-name res) (if version version (latest-stable (:versions res)))]
p (read-clj (str (:root project) "/project.clj"))]
(println "Adding:" a v)

0 comments on commit a14dc82

Please sign in to comment.