Skip to content

The -InformationAction common parameter alias is inconsistent with other stream common parameter aliases #10237

Closed

Description

@KirkMunro

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.

Activity

  1. added
    Issue-Question
    on Jul 27, 2019
  2. iSazonov commented on Jul 29, 2019

    @iSazonov
    Collaborator

    There is a bug in completion code for common parameters and maybe the alias name was a workaround.

  3. added
    WG-Cmdlets
    on Jul 29, 2019
  4. KirkMunro commented on Jul 29, 2019

    @KirkMunro
    ContributorAuthor

    Can you link to that bug? And is the existence of a bug a logical reason for an inconsistent alias?

  5. iSazonov commented on Jul 30, 2019

    @iSazonov
    Collaborator

    I think it is "Tab completion confusion with common parameters" #1265

  6. iSazonov commented on Oct 2, 2019

    @iSazonov
    Collaborator

    Kirk Munro (@KirkMunro) It seems it is unbelievable that we will change these aliases. Can we close the issue?

  7. KirkMunro commented on Oct 2, 2019

    @KirkMunro
    ContributorAuthor

    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.

  8. iSazonov commented on Oct 2, 2019

    @iSazonov
    Collaborator

    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)

  9. 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
  10. KirkMunro commented on Oct 10, 2019

    @KirkMunro
    ContributorAuthor

    It turns out that there is an alias conflict, which is why a different alias was chosen.

  11. iSazonov commented on Oct 10, 2019

    @iSazonov
    Collaborator

    Reference to PowerShell Committee conclution #10703 (comment)

  12. added
    Resolution-Won't Fix
    on Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-QuestionResolution-Won't FixWG-Cmdlets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions