Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-10-20 06:33:57 +0300
committerGitHub <noreply@github.com>2022-10-20 06:33:57 +0300
commitb4efac4820e308daeea87cf5283cbcb0c9e2c950 (patch)
tree3e95fb1b685bdae1188e860bd8912e6d81b6575b /doc/api
parentfdadea8f6e42cea43ee5e603081795c9f1bf8ac9 (diff)
doc: fix typo in parseArgs default value
Refs: https://github.com/nodejs/node/pull/44631 PR-URL: https://github.com/nodejs/node/pull/45083 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/util.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/util.md b/doc/api/util.md
index e3e86899089..791c905de8f 100644
--- a/doc/api/util.md
+++ b/doc/api/util.md
@@ -1407,7 +1407,7 @@ changes:
* `short` {string} A single character alias for the option.
* `default` {string | boolean | string\[] | boolean\[]} The default option
value when it is not set by args. It must be of the same type as the
- the `type` property. When `multiple` is `true`, it must be an array.
+ `type` property. When `multiple` is `true`, it must be an array.
* `strict` {boolean} Should an error be thrown when unknown arguments
are encountered, or when arguments are passed that do not match the
`type` configured in `options`.