[dh-make-perl] 03/03: fix the error message when more than one command is given on the command line
Damyan Ivanov
dmn at moszumanska.debian.org
Mon Jun 30 12:17:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository dh-make-perl.
commit 2cbd22ecb2db07bc07caa6e84fde1d9d373a1b8c
Author: Damyan Ivanov <dmn at debian.org>
Date: Mon Jun 30 12:17:06 2014 +0000
fix the error message when more than one command is given on the command line
---
lib/DhMakePerl/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/DhMakePerl/Config.pm b/lib/DhMakePerl/Config.pm
index e8cd119..7ddc961 100644
--- a/lib/DhMakePerl/Config.pm
+++ b/lib/DhMakePerl/Config.pm
@@ -200,7 +200,7 @@ sub parse_command_line_options {
if ( scalar( keys %opts ) > 1 ) {
die "Only one of " .
- map( $_, @COMMANDS ) . " can be specified\n";
+ join(', ', @COMMANDS ) . " can be specified\n";
}
$self->command( ( keys %opts )[0] );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git
More information about the Pkg-perl-cvs-commits
mailing list