projects
/
gitmo/MooseX-Runnable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2503822
)
be even nicer about the message; add a "perhaps you meant" message
Jonathan Rockway [Wed, 29 Apr 2009 14:22:41 +0000 (09:22 -0500)]
lib/MooseX/Runnable/Util/ArgParser.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Runnable/Util/ArgParser.pm
b/lib/MooseX/Runnable/Util/ArgParser.pm
index
613844e
..
a373a92
100644
(file)
--- a/
lib/MooseX/Runnable/Util/ArgParser.pm
+++ b/
lib/MooseX/Runnable/Util/ArgParser.pm
@@
-88,7
+88,7
@@
sub _build_class_name {
confess 'Parse error: expecting --, got EOF';
}
- confess "Parse error: looking for ClassName, but can't find it";
+ confess "Parse error: looking for ClassName, but can't find it; perhaps you meant '--help' ?";
}
sub _look_for_dash_something($@) {