Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register-ArgumentCompleter example doesn't work #1979

Closed
4 of 7 tasks
MartinSGill opened this issue Dec 21, 2017 · 3 comments
Closed
4 of 7 tasks

Register-ArgumentCompleter example doesn't work #1979

MartinSGill opened this issue Dec 21, 2017 · 3 comments
Labels
area-core Area - Microsoft.PowerShell.Core module Pri3 Priority - Low

Comments

@MartinSGill
Copy link

MartinSGill commented Dec 21, 2017

Issue Details

Copying and pasting the example from the docs into a powershell doesn't actually work.

The final statement in the image should autocomplete with but nothing happens.

image

I suspect it's this issue PowerShell/PowerShell#2912 which means the example simply won't work as written.

A note should probably be added to the docs indicating this issue.

Version(s) of document impacted

  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not selecting all version of documents

  • The documented feature was introduced in selected version of PowerShell
  • This issue only shows up in selected version of the document
@zjalexander
Copy link
Contributor

Could you please link the URL as well?
It looks like the example should be changed so its not registering parameters that begin with hyphens as well as a statement about this being a known issue that is fixed in 6.0+

@zjalexander zjalexander added the Pri3 Priority - Low label Jan 2, 2018
@bobbytreed
Copy link
Contributor

closed by #4321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core Area - Microsoft.PowerShell.Core module Pri3 Priority - Low
Projects
None yet
Development

No branches or pull requests

4 participants