Document :repl-options :caught. Refs #799.
This commit is contained in:
parent
1845541b31
commit
07f2995817
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -247,7 +247,8 @@ Subcommands:
|
|||
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]
|
||||
|
|
Loading…
Reference in a new issue