update-in: improve docstring
This commit is contained in:
parent
f30e2ee9de
commit
d1f024b21f
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue