@@ -94,7 +94,7 @@ function checkOptionLikeValue(longOption, optionValue, shortOrLong, strict) {
9494 `'--${ longOption } =-XYZ'` ;
9595 const errorMessage = `Option '${ shortOrLong } ' argument is ambiguous.
9696Did you forget to specify the option argument for '${ shortOrLong } '?
97- Or to specify an option argument starting with a dash use ${ example } .`;
97+ To specify an option argument starting with a dash use ${ example } .`;
9898 throw new ERR_PARSE_ARGS_INVALID_OPTION_VALUE ( errorMessage ) ;
9999 }
100100}
@@ -104,7 +104,7 @@ Or to specify an option argument starting with a dash use ${example}.`;
104104 *
105105 * @param {string } longOption - long option name e.g. 'foo'
106106 * @param {string|undefined } optionValue - value from user args
107- * @param {Object } options - option configs, from parseArgs({ options })
107+ * @param {object } options - option configs, from parseArgs({ options })
108108 * @param {string } shortOrLong - option used, with dashes e.g. `-l` or `--long`
109109 * @param {boolean } strict - show errors, from parseArgs({ strict })
110110 */
@@ -134,8 +134,8 @@ function checkOptionUsage(longOption, optionValue, options,
134134 *
135135 * @param {string } longOption - long option name e.g. 'foo'
136136 * @param {string|undefined } optionValue - value from user args
137- * @param {Object } options - option configs, from parseArgs({ options })
138- * @param {Object } values - option values returned in `values` by parseArgs
137+ * @param {object } options - option configs, from parseArgs({ options })
138+ * @param {object } values - option values returned in `values` by parseArgs
139139 */
140140function storeOption ( longOption , optionValue , options , values ) {
141141 if ( longOption === '__proto__' ) {
0 commit comments