You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/t/cli.rb
+7-11Lines changed: 7 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -521,7 +521,7 @@ def open(user)
521
521
522
522
desc"reply TWEET_ID MESSAGE","Post your Tweet as a reply directed at another person."
523
523
method_option"all",:aliases=>"-a",:type=>:boolean,:default=>false,:desc=>"Reply to all users mentioned in the Tweet."
524
-
method_option"location",:aliases=>"-l",:type=>:string,:default=>nil,:desc=>"Add location information. If the optional 'latitude,longitude' parameter is not supplied, looks up location by IP address."
524
+
method_option"location",:aliases=>"-l",:type=>:string,:default=>"location",:desc=>"Add location information. If the optional 'latitude,longitude' parameter is not supplied, looks up location by IP address."
say"Reply posted by @#{@rcfile.active_profile[0]} to #{users.join(' ')}."
538
538
say
@@ -739,13 +739,12 @@ def unfollow(user, *users)
739
739
end
740
740
741
741
desc"update [MESSAGE]","Post a Tweet."
742
-
method_option"location",:aliases=>"-l",:type=>:string,:default=>nil,:desc=>"Add location information. If the optional 'latitude,longitude' parameter is not supplied, looks up location by IP address."
742
+
method_option"location",:aliases=>"-l",:type=>:string,:default=>"location",:desc=>"Add location information. If the optional 'latitude,longitude' parameter is not supplied, looks up location by IP address."
743
743
method_option"file",:aliases=>"-f",:type=>:string,:desc=>"The path to an image to attach to your tweet."
0 commit comments