update-in: improve docstring

This commit is contained in:
Marko Topolnik 2013-04-03 15:11:13 +02:00 committed by Jean Niklas L'orange
parent f30e2ee9de
commit d1f024b21f

View file

@ -24,9 +24,9 @@
Acts a lot like calling `clojure.core/update-in` on your project map
and then invoking a task on it, but with a few differences. Instead of
a vector of keys for reaching into nested maps, just mash keywords
together like \":repl-options:port\". Provide the arguments to f
(which must be a resolvable var) followed by \"--\", and then the
task name and arguments to the task:
together like \":repl-options:port\". A single \":\" refers to the map
root. Provide the arguments to f (which must be a resolvable var)
followed by \"--\", and then the task name and arguments to the task:
$ lein update-in :dependencies conj \"[slamhound \\\"1.1.3\\\"]\" -- repl"
[project key-path f & args]