Skip to content

Commit 657bf8b

Browse files
nanobowersFryguy
andauthored
fix exact_match default in documentation
Co-authored-by: Jason Frey <[email protected]>
1 parent 245afb0 commit 657bf8b

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
@@ -1025,7 +1025,7 @@ def multi_arg? ; true ; end
10251025
## end
10261026
##
10271027
## +settings+ include:
1028-
## * :exact_match : (default=false) Allow minimum unambigous number of characters to match a long option
1028+
## * :exact_match : (default=true) Allow minimum unambigous number of characters to match a long option
10291029
## * :suggestions : (default=true) Enables suggestions when unknown arguments are given and DidYouMean is installed. DidYouMean comes standard with Ruby 2.3+
10301030
## Because Optimist::options uses a default argument for +args+, you must pass that argument when using the settings feature.
10311031
##

0 commit comments

Comments
 (0)