bin/twhois in twhois-0.0.3 vs bin/twhois in twhois-0.0.4
- old
+ new
@@ -24,13 +24,14 @@
puts " Joined On: #{user.created_at}"
puts " Profile Picture: #{user.profile_image_url}"
puts " Private Account: #{user.protected ? "Yes" : "No"}"
else
puts "@#{username}:"
- puts " Not Found"
+ puts " Error: Not Found"
end
rescue Twhois::InvalidUsername => e
- puts "\"#{username}\" is not a valid Twitter username"
+ puts "@#{username}:"
+ puts " Error: Invalid Username"
end
end
else
puts "Usage: twhois username [another_user] [yet_another]"
end