+4
-3
lines changedFilter options
+4
-3
lines changed Original file line number Diff line number Diff line change
@@ -1535,9 +1535,10 @@ changes:
1535
1535
times. If `true`, all values will be collected in an array. If
1536
1536
`false`, values for the option are last-wins. **Default:** `false`.
1537
1537
* `short` {string} A single character alias for the option.
1538
-
* `default` {string | boolean | string\[] | boolean\[]} The default option
1539
-
value when it is not set by args. It must be of the same type as the
1540
-
`type` property. When `multiple` is `true`, it must be an array.
1538
+
* `default` {string | boolean | string\[] | boolean\[]} The default value to
1539
+
be used if (and only if) the option does not appear in the arguments to be
1540
+
parsed. It must be of the same type as the `type` property. When `multiple`
1541
+
is `true`, it must be an array.
1541
1542
* `strict` {boolean} Should an error be thrown when unknown arguments
1542
1543
are encountered, or when arguments are passed that do not match the
1543
1544
`type` configured in `options`.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4