Skip to content

Fix conflicting shorthand switch -w for pwsh - #12945

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

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

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (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

macOS failure due to #12935 and unrelated to this PR

@anmenaga Andrew (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
Andrew (anmenaga) merged commit 2f1d40c into PowerShell:master Jun 17, 2020
@iSazonov Ilya (iSazonov) added this to the 7.1.0-preview.4 milestone Jun 17, 2020
@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.4 has been released which incorporates this pull request.:tada:

Handy links:

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