[Bps-public-commit] r16859 - Prophet/trunk/lib/Prophet

jesse at bestpractical.com jesse at bestpractical.com
Sat Nov 15 23:02:50 EST 2008


Author: jesse
Date: Sat Nov 15 23:02:50 2008
New Revision: 16859

Modified:
   Prophet/trunk/lib/Prophet/CLI.pm

Log:
* move the dispatch failure command into the dispatcher rule

Modified: Prophet/trunk/lib/Prophet/CLI.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI.pm	Sat Nov 15 23:02:50 2008
@@ -120,8 +120,6 @@
     my $command = join ' ', @{ $self->context->primary_commands };
     my $dispatch = $dispatcher->dispatch($command);
 
-    die "The command you ran, '$command', could not be found. Perhaps running '$0 help' would help?\n" unless $dispatch->has_matches;
-
     $dispatch->run($dispatcher);
 }
 



More information about the Bps-public-commit mailing list