[Bps-public-commit] Shipwright branch, master, updated. 7282a7e2d8746ac794b7cb722bfcae58a984966a

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Apr 27 08:21:18 EDT 2009


The branch, master has been updated
       via  7282a7e2d8746ac794b7cb722bfcae58a984966a (commit)
      from  500878d61cd9763292db5d3a6d401fe12780d7e0 (commit)

Summary of changes:
 lib/Shipwright/Script.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7282a7e2d8746ac794b7cb722bfcae58a984966a
Author: sunnavy <sunnavy at gmail.com>
Date:   Mon Apr 27 20:20:59 2009 +0800

    version cmd *do* not have logger stuff

diff --git a/lib/Shipwright/Script.pm b/lib/Shipwright/Script.pm
index 09849c9..118bdf8 100644
--- a/lib/Shipwright/Script.pm
+++ b/lib/Shipwright/Script.pm
@@ -43,7 +43,7 @@ sub prepare {
         $ARGV[0] = 'help';
     }
     elsif ( $ARGV[0] =~ /^(-v|--version|version)$/ ) {
-        $self->log->fatal( "This is Shipwright, version $Shipwright::VERSION" );
+        print( "This is Shipwright, version $Shipwright::VERSION" . "\n" );
         exit 0;
     }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list