Skip to content

Commit

Permalink
Simplified printing help in leiningen/run_example.clj
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhartha Reddy committed May 2, 2010
1 parent 7bdaa15 commit 7872848
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions leiningen/run_example.clj
Expand Up @@ -18,8 +18,4 @@ spambase"
(require ns#)
(@(ns-resolve ns# '~'-main) ~@args)
nil))
(doseq [line (drop 3 (line-seq
(java.io.BufferedReader.
(java.io.StringReader.
(with-out-str (doc run-example))))))]
(println line))))
(println (:doc (meta (var run-example))))))

0 comments on commit 7872848

Please sign in to comment.