# Done automatically when nailing-cargo sees that the cargo
# subcommand is one which needs it, eg `fetch'.
#
-# --online | --offline
+# --online | -o
+# --offline | -O
# Whether to allow cargo to make network access.
# (nailing-cargo always passes --offline to cargo, unless
# --online is in force). The default is offline,
$cargo_manifest_args= $1=~m/[a-z]/;
} elsif (s{^-([tT])}{-}) {
$cargo_target_arg= $1=~m/[a-z]/;
+ } elsif (s{^-([oO])}{-}) {
+ $online= $1=~m/[a-z]/;
} else {
die "$self: unknown short option(s) $_\n";
}