bin/sippy_cup in sippy_cup-0.2.1 vs bin/sippy_cup in sippy_cup-0.2.2

- old
+ new

@@ -8,11 +8,11 @@ puts puts "--compile, -c Compile the given scenario YAML to XML and PCAP" puts "--run, -r Run the scenario. If used without -c, must supply a previously" puts " compiled SippyCup file" puts "--help, -h Print this usage information" - puts "--version, -v Print SippyCup version" + puts "--version, -V Print SippyCup version" end opts = GetoptLong.new( ['--compile', '-c', GetoptLong::NO_ARGUMENT], ['--run', '-r', GetoptLong::NO_ARGUMENT], @@ -32,9 +32,10 @@ @compiled_file = arg when '--help' usage exit 0 when '--version' + require 'sippy_cup/version' puts "SippyCup version #{SippyCup::VERSION}" exit 0 end end