Skip to content

Tab completion for command parameters shows invalid candidates #1

Closed
@oising

Description

@oising

I can't see immediately why this happens, but here's a repro:

# this works, in that -dingtone is not shown as a candidate
set-psreadlineoption -dingtone foo -ding<tab>

# this does not work, in that it shows the parameter repeatedly as a choice
set-psreadlineoption -addtohistoryhandler foo -addtohistory<tab>

A cursory look at parameter metadata yield no clues, sorry!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions