Document :repl-options :caught. Refs #799.

This commit is contained in:
Phil Hagelberg 2014-06-05 12:01:21 -07:00
parent 1845541b31
commit 07f2995817
2 changed files with 6 additions and 2 deletions

View file

@ -323,6 +323,9 @@
;; This expression will run when first opening a REPL, in the
;; namespace from :init-ns or :main if specified.
:init (println "here we are in" *ns*)
;; Print stack traces on exceptions (highly recommended, but
;; currently overwrites *1, *2, etc).
:caught clojure.repl/pst
;; Skip's the default requires and printed help message.
:skip-default-init false
;; Customize the socket the repl task listens on and

View file

@ -246,8 +246,9 @@ Subcommands:
If no dest is given, resolves the host resolved as described above
and the port from LEIN_REPL_PORT, :repl-options, or .nrepl-port in
the project root, in that order.
Note: the :repl profile is implicitly activated for this task, and cannot be deactivated."
Note: the :repl profile is implicitly activated for this task. It cannot be
deactivated, but it can be overridden."
([project] (repl project ":start"))
([project subcommand & opts]