'minor-updates|u' => \$minor_updates,
'prepare-source|p' => \$prepare_source,
'require-quit|Q' => \$require_quit,
- 'auto-cmd=s' => \$auto_cmd,
+ 'auto-cmd|a=s' => \$auto_cmd,
) or &usage;
-$auto_cmd = qr/^($auto_cmd)$/;
+$auto_cmd = qr/^($auto_cmd)$/i;
my $interesting_fuzz = $minor_updates ? '\d' : '[2-9]';
{
die <<EOT;
Usage: $0 [OPTS] [DIFF-FILE...]
- --auto-cmd=REGEX If default_cmd =~ /^(REGEX)\$/, enter it automatically
+ -a, --auto-cmd=REGEX If default_cmd =~ /^(REGEX)\$/, enter it automatically
-f, --failures-only Suggest skipping patches that don't have failing hunks
-n, --no-cvs Don't update tmp/cvsdir at the start of the run
-p, --prepare-source Run ./prepare-source and include generated files in diff