diff options
-rw-r--r-- | lib/optparse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1777,7 +1777,7 @@ XXX end all_candidates.select! {|cand| cand.is_a?(String) } suggestions = DidYouMean::SpellChecker.new(dictionary: all_candidates).correct(opt) - raise InvalidOption.new(opt, "\nDid you mean? #{suggestions.join("\n ")}") else raise InvalidOption, opt end |