You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The -InformationAction common parameter alias is inconsistent with other stream common parameter aliases #10237
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-Won't FixThe issue won't be fixed, possibly due to compatibility reason.WG-Cmdletsgeneral cmdlet issues
All common parameters that have to do with streams follow a two-letter alias format (first letter of the stream name followed by the first letter of "Action" or "Variable"). In fact, -InformationVariable has an alias of iv. So why does -InformationAction break the mold with an alias of infa instead of simply using ia as an alias? I couldn't find any competing ia alias in common parameters.
This issue should be addressed by adding ia as a secondary alias for the -InformationAction common parameter.
Ilya (@iSazonov) I want us to at least consider adding ia as an alias for InformationAction. For that reason, please leave this open a bit longer. I monitor issues I log regularly, so will ensure this doesn't just stay open forever.
Kirk Munro (@KirkMunro) I suggest reword the issue as "proposal" (or open new issue) - in the case I hope we will get a progress faster. (I don't see reasons why we can not add the new aliases)
changed the title [-]Why does the -InformationAction common parameter have an alias of "infa"[/-][+]The -InformationAction common parameter alias is inconsistent with other stream common parameter aliases[/+]on Oct 4, 2019
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-Won't FixThe issue won't be fixed, possibly due to compatibility reason.WG-Cmdletsgeneral cmdlet issues
Activity
iSazonov commentedon Jul 29, 2019
There is a bug in completion code for common parameters and maybe the alias name was a workaround.
KirkMunro commentedon Jul 29, 2019
Can you link to that bug? And is the existence of a bug a logical reason for an inconsistent alias?
iSazonov commentedon Jul 30, 2019
I think it is "Tab completion confusion with common parameters" #1265
iSazonov commentedon Oct 2, 2019
Kirk Munro (@KirkMunro) It seems it is unbelievable that we will change these aliases. Can we close the issue?
KirkMunro commentedon Oct 2, 2019
Ilya (@iSazonov) I want us to at least consider adding
iaas an alias forInformationAction. For that reason, please leave this open a bit longer. I monitor issues I log regularly, so will ensure this doesn't just stay open forever.iSazonov commentedon Oct 2, 2019
Kirk Munro (@KirkMunro) I suggest reword the issue as "proposal" (or open new issue) - in the case I hope we will get a progress faster. (I don't see reasons why we can not add the new aliases)
[-]Why does the -InformationAction common parameter have an alias of "infa"[/-][+]The -InformationAction common parameter alias is inconsistent with other stream common parameter aliases[/+]KirkMunro commentedon Oct 10, 2019
It turns out that there is an alias conflict, which is why a different alias was chosen.
iSazonov commentedon Oct 10, 2019
Reference to PowerShell Committee conclution #10703 (comment)