Comparing version 6.3.0 to 6.3.1
@@ -598,3 +598,5 @@ 'use strict'; | ||
/** | ||
* Output the global help message | ||
* Output the corresponding help message | ||
* When a sub-command is matched, output the help message for the command | ||
* Otherwise output the global one. | ||
* | ||
@@ -604,3 +606,8 @@ * This will also call `process.exit(0)` to quit the process. | ||
outputHelp() { | ||
this.globalCommand.outputHelp(); | ||
if (this.matchedCommand) { | ||
this.matchedCommand.outputHelp(); | ||
} | ||
else { | ||
this.globalCommand.outputHelp(); | ||
} | ||
} | ||
@@ -607,0 +614,0 @@ /** |
{ | ||
"name": "cac", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "Simple yet powerful framework for building command-line apps.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -71,3 +71,5 @@ /// <reference types="node" /> | ||
/** | ||
* Output the global help message | ||
* Output the corresponding help message | ||
* When a sub-command is matched, output the help message for the command | ||
* Otherwise output the global one. | ||
* | ||
@@ -74,0 +76,0 @@ * This will also call `process.exit(0)` to quit the process. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
42768
903
0