Browse Source

Tools/scripts/bump_revision.pl: Abort when invalid option given.

pull/9/head
mandree 4 months ago
parent
commit
7ab7a981fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Tools/scripts/bump_revision.pl

+ 1
- 1
Tools/scripts/bump_revision.pl View File

@@ -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…
Cancel
Save