summaryrefslogtreecommitdiff
path: root/lib/optparse.rb
diff options
context:
space:
mode:
-rw-r--r--lib/optparse.rb2
1 files changed, 1 insertions, 1 deletions
@@ -1787,7 +1787,7 @@ XXX
end
all_candidates.select! {|cand| cand.is_a?(String) }
checker = DidYouMean::SpellChecker.new(dictionary: all_candidates)
- DidYouMean.formatter.message_for(checker.correct(opt))
end
def candidate(word)