Skip to content

Commit fa18174

Browse files
authored
doc: "if and only if" should be "if" in util.parseArgs default value
The default value is legal by means other than defaulting.
1 parent cc856b3 commit fa18174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/util.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,7 @@ changes:
19561956
`false`, values for the option are last-wins. **Default:** `false`.
19571957
* `short` {string} A single character alias for the option.
19581958
* `default` {string | boolean | string\[] | boolean\[]} The default value to
1959-
be used if (and only if) the option does not appear in the arguments to be
1959+
be used if the option does not appear in the arguments to be
19601960
parsed. It must be of the same type as the `type` property. When `multiple`
19611961
is `true`, it must be an array.
19621962
* `strict` {boolean} Should an error be thrown when unknown arguments

0 commit comments

Comments
 (0)