mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Tools/scripts/bump_revision.pl: Abort when invalid option given.
This commit is contained in:
parent
6560980dd3
commit
6028208dff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534316
@ -109,7 +109,7 @@ my ($portsdir, $INDEX);
|
||||
{
|
||||
$opt_i = "";
|
||||
$opt_u = "";
|
||||
getopts("fgi:lnu:p:");
|
||||
getopts("fgi:lnu:p:") or die "Aborting";
|
||||
$shallow = $opt_l if $opt_l;
|
||||
if ($opt_l and $opt_g) {
|
||||
die "Options -g and -l given, which are mutually exclusive. Pick either.";
|
||||
|
Loading…
Reference in New Issue
Block a user