| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1422,9 +1422,10 @@ changes: | |||
| 1422 | 1422 | times. If `true`, all values will be collected in an array. If | |
| 1423 | 1423 | `false`, values for the option are last-wins. **Default:** `false`. | |
| 1424 | 1424 | * `short` {string} A single character alias for the option. | |
| 1425 | - * `default` {string | boolean | string\[] | boolean\[]} The default option | ||
| 1426 | - value when it is not set by args. It must be of the same type as the | ||
| 1427 | - `type` property. When `multiple` is `true`, it must be an array. | ||
| 1425 | + * `default` {string | boolean | string\[] | boolean\[]} The default value to | ||
| 1426 | + be used if (and only if) the option does not appear in the arguments to be | ||
| 1427 | + parsed. It must be of the same type as the `type` property. When `multiple` | ||
| 1428 | + is `true`, it must be an array. | ||
| 1428 | 1429 | * `strict` {boolean} Should an error be thrown when unknown arguments | |
| 1429 | 1430 | are encountered, or when arguments are passed that do not match the | |
| 1430 | 1431 | `type` configured in `options`. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments