From e76895de55c9f6818b5f767b0cdfd11f0c2d7c85 Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 15 Nov 2024 10:26:08 -0500 Subject: [PATCH 1/2] correct number of dashes for web help alias in imperative.ts Signed-off-by: Amber --- packages/imperative/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index 4e64f54ab0..b5d91db0d5 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Imperative package will be documented in this file. +## Recent Changes + +- BugFix: Modified 8.8.2 bugfix to correct web help alias. [#2361](https://github.com/zowe/zowe-cli/pull/2361) + ## `8.8.2` - BugFix: Fixed an issue where the Imperative Event Emitter could skip triggering event callbacks. [#2360](https://github.com/zowe/zowe-cli/pull/2360) From 2f5d61c78bf16124cd49de7f2bef7efac5087631 Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 15 Nov 2024 10:26:42 -0500 Subject: [PATCH 2/2] correct number of dashes for web help alias in imperative.ts Signed-off-by: Amber --- packages/imperative/src/imperative/src/Imperative.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/imperative/src/imperative/src/Imperative.ts b/packages/imperative/src/imperative/src/Imperative.ts index 2f4328adcf..675072d10d 100644 --- a/packages/imperative/src/imperative/src/Imperative.ts +++ b/packages/imperative/src/imperative/src/Imperative.ts @@ -144,7 +144,7 @@ export class Imperative { const ignoreErrors = process.argv.includes(Constants.OPT_LONG_DASH + Constants.HELP_OPTION) || process.argv.includes(Constants.OPT_SHORT_DASH + Constants.HELP_OPTION_ALIAS) || process.argv.includes(Constants.OPT_LONG_DASH + Constants.HELP_WEB_OPTION) || - process.argv.includes(Constants.OPT_SHORT_DASH + Constants.HELP_WEB_OPTION_ALIAS) || + process.argv.includes(Constants.OPT_LONG_DASH + Constants.HELP_WEB_OPTION_ALIAS) || process.argv.includes(Constants.OPT_LONG_DASH + Constants.VERSION_OPTION) || process.argv.includes(Constants.OPT_SHORT_DASH + Constants.VERSION_OPTION_ALIAS) || process.argv[process.argv.length - 1] === require.resolve('@zowe/cli');