From 12a135919628ab710b3da22aca356726ea80bd39 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Jul 2018 19:42:08 +0100 Subject: git-debrebase: Replace `die badusage' with `badusage'. badusage contains a call to finish. So the die is redundant and never gets called. No functional change. Signed-off-by: Ian Jackson --- git-debrebase | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'git-debrebase') diff --git a/git-debrebase b/git-debrebase index a79b486..83abc3b 100755 --- a/git-debrebase +++ b/git-debrebase @@ -1496,7 +1496,7 @@ sub cmd_status () { sub cmd_stitch () { my $prose = 'stitch'; - GetOptions('prose=s', \$prose) or die badusage("bad options to stitch"); + GetOptions('prose=s', \$prose) or badusage("bad options to stitch"); badusage "no arguments allowed" if @ARGV; do_stitch $prose, 0; } @@ -1560,7 +1560,7 @@ sub make_patches ($) { sub cmd_make_patches () { my $opt_quiet_would_amend; GetOptions('quiet-would-amend!', \$opt_quiet_would_amend) - or die badusage("bad options to make-patches"); + or badusage("bad options to make-patches"); badusage "no arguments allowed" if @ARGV; my $old_head = get_head(); my $new = make_patches $old_head; @@ -1741,7 +1741,7 @@ GetOptions("D+" => \$debuglevel, # approach. '-i=s{0,}' does not work with bundling. push @$opt_defaultcmd_interactive, @ARGV; @ARGV=(); - }) or die badusage "bad options\n"; + }) or badusage "bad options\n"; initdebug('git-debrebase '); enabledebug if $debuglevel; -- cgit v1.2.3