lib/wordle/options.rb in wordle-0.6.0 vs lib/wordle/options.rb in wordle-0.7.0
- old
+ new
@@ -13,9 +13,13 @@
end
opts.on("-d", "--difficult", "Hard mode. Any revealed hints must be used in subsequent guesses.") do |d|
options[:difficult] = d
end
+
+ opts.on("-c", "--contrast", "High contrast mode. Matched letters will be orange. Included letters will be blue.") do |c|
+ options[:contrast] = c
+ end
end
begin
parser.parse!
rescue OptionParser::InvalidOption