lib/tw/app/main.rb in tw-1.0.6 vs lib/tw/app/main.rb in tw-1.0.7

- old
+ new

@@ -49,10 +49,11 @@ arg :timeline, 'show timeline', :alias => :tl arg :dm, 'show direct messages' arg 'dm:to', 'create direct message' arg :favorite, 'favorite tweet', :alias => :fav arg :retweet, 'retweet', :alias => :rt + arg :delete, 'delete tweet', :alias => :del arg :search, 'search public timeline', :alias => :s arg :stream, 'show user stream', :alias => :st arg :status_id, 'show status_id', :alias => :id arg :file, 'upload file' arg :pipe, 'pipe tweet' @@ -101,9 +102,10 @@ STDERR.puts 'reply tw "@shokai wow!!" --id=334749349588377601' STDERR.puts " tw --fav=334749349588377601" STDERR.puts " tw --rt=334749349588377601" STDERR.puts " tw --format=json" STDERR.puts ' tw --format="@#{user} #{text} - http://twitter.com/#{user}/#{id}"' + STDERR.puts "delete tw --del=334749349588377601" on_exit end Render.silent = (@args.has_option? :silent or @args.has_param? :format) Render.show_status_id = @args[:status_id]