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

7/10/2024 PM Publish #11250

Merged
merged 1 commit into from
Jul 10, 2024
Merged

7/10/2024 PM Publish #11250

merged 1 commit into from
Jul 10, 2024

Conversation

Taojunshen
Copy link
Contributor

@Taojunshen Taojunshen commented Jul 10, 2024

…rs (#11249)

Prior to this change, the Register-ArgumentCompleter reference didn't indicate that specifying the CommandName parameter without the ParameterName or Native parameters causes the command to behave as if the user specified the -Native switch.

This change:

  • (MAINT) Clarify and update Register-ArgumentCompleter

This change adds further clarification to various sections of the reference documentation for Register-ArgumentCompleter.

It also addresses some style and formatting issues.

PR Summary

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

…rs (#11249)

* (GH-11248) Clarify behavior for `Register-ArgumentCompleter` parameters

Prior to this change, the `Register-ArgumentCompleter` reference didn't indicate that
specifying the **CommandName** parameter without the **ParameterName** or **Native**
parameters causes the command to behave as if the user specified the `-Native` switch.

This change:

- Clarifies that users should always specify the **ParameterName** parameter when
  registering an argument completer for a PowerShell command.
- Resolves #11248
- Fixes AB#281953

* (MAINT) Clarify and update `Register-ArgumentCompleter`

This change adds further clarification to various sections of
the reference documentation for `Register-ArgumentCompleter`.

It also addresses some style and formatting issues.
Copy link
Contributor

Learn Build status updates of commit c8b5bef:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md ✅Succeeded View (powershell-5.1)
reference/7.2/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md ✅Succeeded View (powershell-7.2)
reference/7.4/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md ✅Succeeded View (powershell-7.5)

For more details, please refer to the build report.

For any questions, please:

@Taojunshen Taojunshen merged commit 933d68c into live Jul 10, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants