When I run zwe init, I received the following error:
Error ZWEL0106E: ca-alias parameter is required
I then tried "zwe init --ca-alias" but it resulted in:
Error ZWEL0102E: Invalid parameter --ca-alias
This could be fixed by just making ZWEL0106E print out which command was being run at the time. there's some ZWE internal environment variable that includes the command name.
A user is observing the following
This parameter doesnt actually come from
zwe init
so it misleads the user into doing something invalid. The parameter actually comes fromzwe certificate pkcs12 ....
such as here https://github.com/zowe/zowe-install-packaging/blob/v2.x/master/bin/commands/certificate/pkcs12/create/cert/.parameters andzwe init certificates
callszwe certificate
, so the fact this error message comes fromzwe certificate
is invisible to the user, causing the misinformation.This could be fixed by just making ZWEL0106E print out which command was being run at the time. there's some ZWE internal environment variable that includes the command name.