[Bps-public-commit] r16080 - in Prophet/branches/dispatcher: . lib/Prophet/CLI

sartak at bestpractical.com sartak at bestpractical.com
Thu Sep 25 18:48:24 EDT 2008


Author: sartak
Date: Thu Sep 25 18:48:23 2008
New Revision: 16080

Removed:
   Prophet/branches/dispatcher/lib/Prophet/CLI/Command/Show.pm
Modified:
   Prophet/branches/dispatcher/   (props changed)
   Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm

Log:
 r72496 at onn:  sartak | 2008-09-25 18:29:57 -0400
 More informative 404s, say what command was not found


Modified: Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm
==============================================================================
--- Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	(original)
+++ Prophet/branches/dispatcher/lib/Prophet/CLI/Dispatcher.pm	Thu Sep 25 18:48:23 2008
@@ -114,7 +114,7 @@
 # the empty regex meaning the last-used regex
 on qr/()/ => sub {
     my $self = shift;
-    $self->fatal_error("The command you ran could not be found. Perhaps running '$0 help' would help?");
+    $self->fatal_error("The command you ran '$_' could not be found. Perhaps running '$0 help' would help?");
 };
 
 sub fatal_error {



More information about the Bps-public-commit mailing list