Comparing version 10.1.3 to 10.1.4
11
index.js
@@ -150,2 +150,13 @@ import {dirname} from 'node:path'; | ||
// Add --help and --version to known flags if autoHelp or autoVersion are set | ||
if (!options.allowUnknownFlags) { | ||
if (options.autoHelp) { | ||
parserOptions.help = {type: 'boolean'}; | ||
} | ||
if (options.autoVersion) { | ||
parserOptions.version = {type: 'boolean'}; | ||
} | ||
} | ||
parserOptions = buildParserOptions(parserOptions); | ||
@@ -152,0 +163,0 @@ |
{ | ||
"name": "meow", | ||
"version": "10.1.3", | ||
"version": "10.1.4", | ||
"description": "CLI app helper", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25199
455