Fix conflicting shorthand switch `-w` for pwsh by SteveL-MSFT · Pull Request #12945 · PowerShell/PowerShell · GitHub
Skip to content

Fix conflicting shorthand switch -w for pwsh#12945

Merged
anmenaga merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:pwsh-wait
Jun 17, 2020
Merged

Fix conflicting shorthand switch -w for pwsh#12945
anmenaga merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:pwsh-wait

Conversation

@SteveL-MSFT

@SteveL-MSFT SteveL-MSFT commented Jun 11, 2020

Copy link
Copy Markdown
Member

PR Summary

For pwsh -w is already used for -windowstyle, but -wait also tries to use -w as the shorthand. This actually would have never worked as -w would have resolved to -windowstyle first and also -wait is only available in debug builds. Because this is only in debug builds, no doc change needed as -wait is not documented.

PR Checklist

@SteveL-MSFT

Copy link
Copy Markdown
Member Author

@anmenaga anmenaga added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Jun 17, 2020
@anmenaga anmenaga merged commit 2f1d40c into PowerShell:master Jun 17, 2020
@iSazonov iSazonov added this to the 7.1.0-preview.4 milestone Jun 17, 2020
@ghost

ghost commented Jun 25, 2020

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants