diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 14:29:48 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 18:35:04 +0100 |
commit | 8f52891ef4c7a803a1d8576897180a34b36a4e16 (patch) | |
tree | d1e8ea68e8127bef9cb5371a4e464f95d21842e0 /dgit | |
parent | ab923cd385d0105e1e9316bcb155342fde2a1efb (diff) |
Convert to defvalopt: -k
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3124,6 +3124,7 @@ sub defvalopt ($$$$) { defvalopt '--since-version', '-v', '[^_]+|_', \$changes_since_version; defvalopt '--distro', '-d', '.+', \$idistro; +defvalopt '', '-k', '.+', \$keyid; defvalopt '--existing-package','', '.*', \$existing_package; defvalopt '--build-products-dir','','.*', \$buildproductsdir; defvalopt '--clean', '', $cleanmode_re, \$cleanmode; @@ -3245,8 +3246,6 @@ sub parseopts () { push @ropts, $&; push @changesopts, $_; $_ = ''; - } elsif (s/^-k(.+)//s) { - $keyid=$1; } elsif (m/^-[dCk]$/) { badusage "option \`$_' requires an argument (and no space before the argument)"; |