use strict;
use warnings FATAL => 'all';
use File::Find;
-use Getopt::Long qw(:config gnu_compat);
+use Getopt::Long qw(:config gnu_getopt);
use File::Temp ();
GetOptions(
"force" => \my $force,
) or die("Error in command line arguments\n");
-my ($old_version, $bump) = @ARGV;
+my $old_version = shift
+ or die "no old version provided!\n";
+my $bump = shift;
my ($new_decimal, $new_vstring) = bump_version($old_version, $bump);
warn "Bumping $old_version -> $new_decimal\n";