Permalink
Browse files

Clean up CLI output.

  • Loading branch information...
1 parent 6e85a3d commit 57d30e149ddd3845b7f614e868e1ab6060831415 @alexreisner alexreisner committed May 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/geocoder/cli.rb
View
@@ -41,12 +41,12 @@ def self.run(args, out = STDOUT)
show_json = true
end
- opts.on("-u", "--url", "Print URL for API instead of result") do
+ opts.on("-u", "--url", "Print URL for API query instead of result") do
show_url = true
end
opts.on_tail("-v", "--version", "Print version number") do
- out << "Geocoder #{Geocoder.version}"
+ out << "Geocoder #{Geocoder.version}\n"
exit
end

0 comments on commit 57d30e1

Please sign in to comment.