lib/tw/app/main.rb in tw-0.1.0 vs lib/tw/app/main.rb in tw-0.1.1
- old
+ new
@@ -56,9 +56,17 @@
arg :help, 'show help', :alias => :h
end
if @parser.has_option? :help
STDERR.puts @parser.help
+ STDERR.puts
+ STDERR.puts "e.g."
+ STDERR.puts "tweet tw hello world"
+ STDERR.puts "read tw @username"
+ STDERR.puts " tw @username @user2 @user2/listname"
+ STDERR.puts " tw --search=ruby"
+ STDERR.puts " tw --dm:to=username \"hello!\""
+ STDERR.puts " echo 'hello' | tw --pipe"
on_exit
end
regist_cmds