chiark / gitweb /
Provide --no-cargo-lock-manip option
[nailing-cargo.git] / README.md
index bf80419ac4832c0e45dfbf95d9175b87c7b746a4..46086ed53d3860d8892d56d1d19ebaec218d1814 100644 (file)
--- a/README.md
+++ b/README.md
@@ -385,11 +385,18 @@ Options
     commands that don't actually invoke cargo.  Consider passingm
     `--no-lock` too.
 
+  * `--no-cargo-lock-manip` | `--cargo-lock-manip` (default):
+    Whether to manipulate `Cargo.lock`.  For example, whether to copy
+    it to the build tree and back (in out of tree mode) and whether to
+    rename it from an alternative lockfile name, and put it back.
+    Overrides `-u` etc.
+
   * `--no-lock` | `--lock` (default): Whether to take the
     nailing-cargo lock.  Some kind of protection against concurrent
     operation is necessary to prevent multiple instances of
     nailing-cargo trashing each others' work, and possibly mangling
-    your `Cargo.toml`s.
+    your `Cargo.toml`s, `Cargo.lock`, etc., so `--no-lock` is dangerous
+    unless you take other measures against concurrent execution.
 
   * `-h` | `--help`: Print usage summary.