From: Ian Jackson Date: Sun, 21 Jun 2020 18:37:53 +0000 (+0100) Subject: nailing-cargo: Restore -u and -U options X-Git-Tag: nailing-cargo/1.0.0~104 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=dc6083073ae49156528f3585beb1cec0b08e471e;p=nailing-cargo.git nailing-cargo: Restore -u and -U options People will need these occasionally - even in the basic runes. They were still in README.md. Signed-off-by: Ian Jackson --- diff --git a/nailing-cargo b/nailing-cargo index 72abb09..d142422 100755 --- a/nailing-cargo +++ b/nailing-cargo @@ -710,6 +710,8 @@ sub parse_args () { $noact++; } elsif (s{^-s(.+)}{-}s) { $cargo_subcmd = $1; + } elsif (s{^-([uU])}{-}) { + $cargo_lock_update = $1=~m/[a-z]/; } elsif (s{^-([cC])}{-}) { $pass_options = $1=~m/[a-z]/; } elsif (s{^-D}{-}) {