bin/dot2ruby in ruby-graphviz-1.0.8 vs bin/dot2ruby in ruby-graphviz-1.0.9

- old
+ new

@@ -28,11 +28,11 @@ puts "-V, --version Show version" puts "-h, --help Show this usage message" end def version - puts "Dot2Ruby v#{Constants::RGV_VERSION}, (c) 2010 Gregoire Lejeune <gregoire.lejeune@free.fr>" + puts "Dot2Ruby v#{GraphViz::Constants::RGV_VERSION}, (c) 2010 Gregoire Lejeune <gregoire.lejeune@free.fr>" puts "" puts "This program is free software; you can redistribute it and/or modify" puts "it under the terms of the GNU General Public License as published by" puts "the Free Software Foundation; either version 2 of the License, or" puts "(at your option) any later version." @@ -74,10 +74,10 @@ when '--version' version( ) exit end end -rescue GetoptLong::InvalidOption => e +rescue GetoptLong::InvalidOption usage( ) exit end xFile = ARGV[0]