standardize output of twhois command a bit

This commit is contained in:
2011-03-02 01:07:40 +00:00
parent 8c1a01828b
commit 7738a67df5

View File

@@ -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