Skip to content
Snippets Groups Projects
Commit 45edade6 authored by Alex Reisner's avatar Alex Reisner
Browse files

Add command description and license info.

parent d4e2af76
No related branches found
No related tags found
No related merge requests found
......@@ -41,12 +41,15 @@ module Geocoder
end
opts.on_tail("-v", "--version", "Print version number") do
puts "Geocoder #{Geocoder.version}"
out << "Geocoder #{Geocoder.version}"
exit
end
opts.on_tail("-h", "--help", "Print this help") do
puts opts
out << "Look up geographic information about a location.\n\n"
out << opts
out << "\n\nCreated and maintained by Alex Reisner, available under the MIT License.\n"
out << "Report bugs and contribute at http://github.com/alexreisner/geocoder\n"
exit
end
}.parse!(args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment