Skip to content

Commit

Permalink
fix exact match default to true
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Frey <[email protected]>
  • Loading branch information
nanobowers and Fryguy authored May 3, 2024
1 parent 7514de5 commit 245afb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/optimist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def self.registry_getopttype(type)
## ignore options that it does not recognize.
attr_accessor :ignore_invalid_options

DEFAULT_SETTINGS = { suggestions: true, exact_match: false }
DEFAULT_SETTINGS = { suggestions: true, exact_match: true }

## Initializes the parser, and instance-evaluates any block given.
def initialize(*a, &b)
Expand Down

0 comments on commit 245afb0

Please sign in to comment.