From: Ian Jackson Date: Thu, 18 Jun 2020 18:05:24 +0000 (+0100) Subject: Change target-dir option X-Git-Tag: nailing-cargo/1.0.0~175 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=92b6218a40919bdb8f149361faffc2589ba923a8;p=nailing-cargo.git Change target-dir option Signed-off-by: Ian Jackson --- diff --git a/README.md b/README.md index c240e47..28f25dc 100644 --- a/README.md +++ b/README.md @@ -223,7 +223,7 @@ Command-line options --locked --target-dir=target - * `-T` | `--no-cargo-target-arg` | `-t` | `--cargo-target-arg` + * `-T` | `--no-cargo-target-dir-arg` | `-t` | `--cargo-target-dir-arg` `-T` suppresses `--target-dir`; `-t` un-suppresses it. Only makes any difference with `-m`, since otherwise no diff --git a/nailing-cargo b/nailing-cargo index d1d3309..80260d9 100755 --- a/nailing-cargo +++ b/nailing-cargo @@ -671,7 +671,7 @@ while (@ARGV && $ARGV[0] =~ m/^-/) { $cargo_lock_update= !!$1; } elsif (m{^--(no-)?cargo-manifest-args}) { $cargo_manifest_args= !!$1; - } elsif (m{^--(no-)?cargo-target-arg}) { + } elsif (m{^--(no-)?cargo-target-dir-arg}) { $cargo_target_arg= !!$1; } elsif (m{^--(on|off)line$}) { $online = $1 eq 'on';