[libcatmandu-perl] 63/85: Stripped the help messages from the relative catmandu paths
Jonas Smedegaard
dr at jones.dk
Tue May 20 09:56:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.91
in repository libcatmandu-perl.
commit f21c90003ea0be64069d11e0a8c547ad052b3fa0
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date: Sat May 17 17:49:27 2014 +0200
Stripped the help messages from the relative catmandu paths
---
lib/Catmandu/CLI.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Catmandu/CLI.pm b/lib/Catmandu/CLI.pm
index 090378e..41cb205 100644
--- a/lib/Catmandu/CLI.pm
+++ b/lib/Catmandu/CLI.pm
@@ -50,7 +50,7 @@ sub run {
};
if ($@) {
if ($@ =~ /^Can't locate Catmandu\/Importer/ && $ARGV[1] eq 'help') {
- print STDERR "You probably mean:\n\n\t$0 $ARGV[1] $ARGV[0]\n";
+ print STDERR "You probably mean:\n\n\tcatmandu $ARGV[1] $ARGV[0]\n";
return undef;
}
elsif ($@ =~ /Can't locate Catmandu\/(Importer|Exporter|Store)\/([^\.]+)/) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list