diff --git a/README.md b/README.md index d2b9940..24d401e 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ Leiningen plugin to work with local Maven repository. Either install as a plugin: - $ lein plugin install lein-localrepo "0.1" + $ lein plugin install lein-localrepo "0.1.1" Or, include as a dev-dependency: - :dev-dependencies [lein-localrepo "0.1"] + :dev-dependencies [lein-localrepo "0.1.1"] ### Guess Leiningen (Maven) coordinates of a file diff --git a/project.clj b/project.clj index 6a8d0ce..5f2dd49 100644 --- a/project.clj +++ b/project.clj @@ -1,3 +1,3 @@ -(defproject lein-localrepo "0.1" +(defproject lein-localrepo "0.1.1" :description "Leiningen local repository plugin" :dev-dependencies [[org.clojure/clojure "1.2.1"]]) diff --git a/src/leiningen/localrepo.clj b/src/leiningen/localrepo.clj index 7b568b3..7a21d6a 100644 --- a/src/leiningen/localrepo.clj +++ b/src/leiningen/localrepo.clj @@ -141,9 +141,9 @@ help This help screen (defn localrepo "Work with local Maven repository" - ([project] + ([] (c-help)) - ([project command & args] + ([command & args] (let [argc (count args)] (case command "coords" (apply-cmd #(= argc 1) command c-coords args)