bin/soulmate in soulmate-0.0.6 vs bin/soulmate in soulmate-0.1.0

- old
+ new

@@ -18,9 +18,15 @@ opts.on("-r", "--redis [HOST:PORT]", "Redis connection string") do |host| Soulmate.redis = host end + opts.on("-s", "--stop-words [FILE]", "Path to file containing a list of stop words") do |fn| + File.open(fn) do |file| + Soulmate.stop_words = file.readlines.map{ |l| l.strip } + end + end + opts.on("-h", "--help", "Show this message") do puts opts exit end