From 92b6218a40919bdb8f149361faffc2589ba923a8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 18 Jun 2020 19:05:24 +0100 Subject: [PATCH] Change target-dir option Signed-off-by: Ian Jackson --- README.md | 2 +- nailing-cargo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'; -- 2.30.2