mirror of
https://github.com/jimeh/twhois.git
synced 2026-02-18 18:36:40 +00:00
standardize output of twhois command a bit
This commit is contained in:
@@ -26,10 +26,11 @@ if ARGV.size > 0
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user