bin/livetext in livetext-0.8.10 vs bin/livetext in livetext-0.8.11

- old
+ new

@@ -17,11 +17,11 @@ loop do arg = ARGV.shift break if arg.nil? case arg - when "-v", "--version" + when "-v", "--version" puts "#{Livetext::VERSION}\n " when "-t", "--test" # FIXME doesn't work - path problem file = "#{Path}/../test/test.rb" flag = @backtrace ? "-back" : "" cmd = "ruby #{file} cmdline#{flag}" @@ -35,12 +35,15 @@ src = STDIN.read x.process(src) when nil puts <<-EOF Usage: + livetext filename + livetext --path + livetext -t + livetext --test livetext -v livetext --version - livetext filename EOF puts when Object x.process_file(arg, @backtrace) end