Permalink
Browse files
Now, help output is sorted.
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/leiningen/help.clj
|
@@ -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