Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix conflicting shorthand switch -w for pwsh#12945

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

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

Conversation

@SteveL-MSFT
Copy link
Member

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

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
Member Author

macOS failure due to #12935 and unrelated to this PR

@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
Copy link

ghost commented Jun 25, 2020

🎉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