bin/gem-search in gem-search-0.0.2 vs bin/gem-search in gem-search-0.0.3
- old
+ new
@@ -20,9 +20,10 @@
OPT_SORT = {
'v' => 'version_downloads',
'a' => 'downloads',
}
+puts opts and exit if (ARGV.size == 0)
exit if opts['h']
$:.unshift File.dirname(__FILE__) + '/../lib'
require 'gem-search'
if opts['v']