Skip to content

Commit 245afb0

Browse files
nanobowersFryguy
andauthored
fix exact match default to true
Co-authored-by: Jason Frey <[email protected]>
1 parent 7514de5 commit 245afb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimist.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def self.registry_getopttype(type)
8484
## ignore options that it does not recognize.
8585
attr_accessor :ignore_invalid_options
8686

87-
DEFAULT_SETTINGS = { suggestions: true, exact_match: false }
87+
DEFAULT_SETTINGS = { suggestions: true, exact_match: true }
8888

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

0 commit comments

Comments
 (0)