diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 14:25:25 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-14 18:35:03 +0100 |
commit | 5c221b7bacc586d96847e7dcbe53c8cc0a5e2ea9 (patch) | |
tree | 9f6d147ca7012dca18ce6d087aedf6300c29ce50 /dgit | |
parent | 0e954781c2059b9b5ed7bbcaae018878cf5a7122 (diff) |
Convert to defvalopt: -c
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3129,6 +3129,8 @@ defvalopt '--build-products-dir','','.*', \$buildproductsdir; defvalopt '--clean', '', $cleanmode_re, \$cleanmode; defvalopt '--quilt', '', $quilt_modes_re, \$quilt_mode; +defvalopt '', '-c', '.*=.*', sub { push @git, '-c', @_; }; + defvalopt '--initiator-tempdir','','.*', sub { ($initiator_tempdir) = (@_); $initiator_tempdir =~ m#^/# or @@ -3236,9 +3238,6 @@ sub parseopts () { push @ropts, $&; push @changesopts, $_; $_ = ''; - } elsif (s/^-c(.*=.*)//s) { - push @ropts, $&; - push @git, '-c', $1; } elsif (s/^-C(.+)//s) { push @ropts, $&; $changesfile = $1; |