From 0e954781c2059b9b5ed7bbcaae018878cf5a7122 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 14 Aug 2015 14:23:11 +0100 Subject: Convert to defvalopt: --quilt= --- dgit | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'dgit') diff --git a/dgit b/dgit index b06e078..04d67f3 100755 --- a/dgit +++ b/dgit @@ -3127,6 +3127,7 @@ defvalopt '--distro', '-d', '.+', \$idistro; defvalopt '--existing-package','', '.*', \$existing_package; defvalopt '--build-products-dir','','.*', \$buildproductsdir; defvalopt '--clean', '', $cleanmode_re, \$cleanmode; +defvalopt '--quilt', '', $quilt_modes_re, \$quilt_mode; defvalopt '--initiator-tempdir','','.*', sub { ($initiator_tempdir) = (@_); @@ -3196,11 +3197,6 @@ sub parseopts () { ($om = $opts_opt_map{$1})) { push @ropts, $_; push @$om, $2; - } elsif (m/^--quilt=($quilt_modes_re)$/s) { - push @ropts, $_; - $quilt_mode = $1; - } elsif (m/^--quilt=(.*)$/s) { - badusage "unknown quilt fixup mode \`$1'"; } elsif (m/^--ignore-dirty$/s) { push @ropts, $_; $ignoredirty = 1; -- cgit v1.2.3