@@ -94,7 +94,7 @@ function checkOptionLikeValue(longOption, optionValue, shortOrLong, strict) {
94
94
`'--${ longOption } =-XYZ'` ;
95
95
const errorMessage = `Option '${ shortOrLong } ' argument is ambiguous.
96
96
Did 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 } .`;
98
98
throw new ERR_PARSE_ARGS_INVALID_OPTION_VALUE ( errorMessage ) ;
99
99
}
100
100
}
@@ -104,7 +104,7 @@ Or to specify an option argument starting with a dash use ${example}.`;
104
104
*
105
105
* @param {string } longOption - long option name e.g. 'foo'
106
106
* @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 })
108
108
* @param {string } shortOrLong - option used, with dashes e.g. `-l` or `--long`
109
109
* @param {boolean } strict - show errors, from parseArgs({ strict })
110
110
*/
@@ -134,8 +134,8 @@ function checkOptionUsage(longOption, optionValue, options,
134
134
*
135
135
* @param {string } longOption - long option name e.g. 'foo'
136
136
* @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
139
139
*/
140
140
function storeOption ( longOption , optionValue , options , values ) {
141
141
if ( longOption === '__proto__' ) {
0 commit comments