Skip to content

Commit

Permalink
add "Title:" to url_title output
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Mar 24, 2016
1 parent 6be769c commit 925cc29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/url_title.rb
Expand Up @@ -5,5 +5,5 @@
message = ARGV.join(' ')
url = URI.extract(message)[0]
if url
puts "#{Mechanize.new.get(url).title} [#{url}]"
puts "Title: #{Mechanize.new.get(url).title} [#{url}]"
end

0 comments on commit 925cc29

Please sign in to comment.