chiark / gitweb /
Change target-dir option
[nailing-cargo.git] / nailing-cargo
index d1d330920ea72f4da4fd6a52fb9bcd12b23c39d9..80260d92a4946f66289bf67c9e3e854c40c72483 100755 (executable)
@@ -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';