Browse files

Add documentation about the :port option when starting a headless REPL.

  • Loading branch information...
1 parent d6d7733 commit 58e862a4bd7e7a8efbeeb7438e6392ceaa238971 Baishampayan Ghose committed Nov 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leiningen/repl.clj
@@ -151,8 +151,9 @@ inside of a project, it will be run in the context of that classpath.
If the command is run outside of a project, it'll be standalone and
the classpath will be that of Leiningen.
-USAGE: lein repl :headless
+USAGE: lein repl :headless [:port port]
This will launch an nREPL server and wait, rather than connecting reply to it.
+If :port is specified, the port given is used instead of a random one.
USAGE: lein repl :connect [host:]port
Connects to the nREPL server running at the given host (defaults to localhost)

0 comments on commit 58e862a

Please sign in to comment.