lib/tw/app/main.rb in tw-0.2.1 vs lib/tw/app/main.rb in tw-0.2.2
- old
+ new
@@ -67,9 +67,12 @@
v =~ /^[a-zA-Z0-9_]+$/
end
end
if @parser.has_option? :help
+ STDERR.puts "Tw - Twitter client on Ruby v#{Tw::VERSION}"
+ STDERR.puts " http://shokai.github.com/tw"
+ STDERR.puts
STDERR.puts @parser.help
STDERR.puts
STDERR.puts "e.g."
STDERR.puts "tweet tw hello world"
STDERR.puts " echo 'hello' | tw --pipe"