diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-07-25 20:33:12 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-07-25 20:33:12 +0200 |
commit | e2880212eacea7601285fe22abc41541ac90581e (patch) | |
tree | 733b9bf0b192d42b0fd71810930de4ccc95b00a1 /Porting/cherrymaint | |
parent | b63bc9b3dfd65dbfa74aa9e3173402826ddc6cb6 (diff) | |
download | perl-e2880212eacea7601285fe22abc41541ac90581e.tar.gz |
Unbreak cherrymaint for actions other than vote
Diffstat (limited to 'Porting/cherrymaint')
-rw-r--r-- | Porting/cherrymaint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cherrymaint b/Porting/cherrymaint index 3a985b9b0c..c7fb10920c 100644 --- a/Porting/cherrymaint +++ b/Porting/cherrymaint @@ -38,7 +38,7 @@ die $usage if grep { /^(--help|-h)$/ } @ARGV; my %opt = (address => \$addr); GetOptions( \%opt, 'address=s', keys %votemap ) or die $usage; -if ( keys(%opt) > 1 ) { +if ( keys(%opt) > 2 ) { die "Error: cherrymaint takes only one action argument\n\n$usage" } |