Permalink
Browse files

Now, help output is sorted.

  • Loading branch information...
Serabe committed Sep 20, 2010
1 parent 2e0589c commit 5607761edf6917f2a871513cb0ea6a67b2327328
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/leiningen/help.clj
View
@@ -2,8 +2,8 @@
"Display a list of tasks or help for a given task."
(:use [leiningen.util.ns :only [namespaces-matching]]))
-(def tasks (set (filter #(re-find #"^leiningen\.(?!core|util)[^\.]+$" (name %))
- (namespaces-matching "leiningen"))))
+(def tasks (sort (set (filter #(re-find #"^leiningen\.(?!core|util)[^\.]+$" (name %))
+ (namespaces-matching "leiningen")))))
(defn- get-arglists [task]
(for [args (:arglists (meta task))]

0 comments on commit 5607761

Please sign in to comment.