Zowe commands with --help
fail if config file cannot be parsed
#2293
Labels
bug
Something isn't working
priority-high
Production outage - this quarter or at least next quarter
severity-high
Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Describe the bug
If you have a
zowe.config.json
file that has errors or missing JSON content, an error will appear instead of the help text when running a Zowe CLI command with the--help
argument.Expected and actual results
Expected: Help text appears regardless of contents in the
zowe.config.json
file.Actual: The following error message appears and no help text is shown
Describe your environment
zowe --version
):8.1.1
zowe plugins list --short
):node --version
,npm --version
): Node 20, latest NPMAdditional context
The text was updated successfully, but these errors were encountered: