-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Don't use emdash in command options #50116
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR corrects the use of em dashes (—) in command-line options throughout .NET Framework documentation, replacing them with proper hyphens (-). This is essential because command-line tools expect ASCII hyphens, not em dashes, which would cause commands to fail if copy-pasted from the documentation.
Key Changes
- Replaced em dashes with hyphens in command-line options across 23 documentation files
- Removed trailing whitespace in multiple files for better consistency
- Updated metadata date in one file (mpgo-exe-managed-profile-guided-optimization-tool.md)
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| workflow-tracing.md | Fixed command options in ServiceModelReg.exe examples |
| fault-handling-in-a-flowchart-activity-using-trycatch.md | Fixed em dash in mathematical expression (non-command context) |
| wcf-service-publishing.md | Fixed command options in aspnet_regiis.exe and ServiceModelReg.exe examples |
| servicemodelreg-exe.md | Fixed command options throughout tool documentation and examples |
| one-time-setup-procedure-for-the-wcf-samples.md | Fixed command options in aspnet_regiis and ServiceModelReg.exe examples |
| internet-information-service-hosting-instructions.md | Fixed command option in aspnet_regiis example |
| find-private-key-tool-findprivatekey-exe.md | Fixed command options in FindPrivateKey.exe example |
| deploying-an-internet-information-services-hosted-wcf-service.md | Fixed command option reference to ASPNET_Regiis tool |
| configuring-ws-atomic-transaction-support.md | Fixed command options in WsatConfig.exe examples |
| recommended-settings-for-tracing-and-message-logging.md | Fixed command options in logman examples |
| icorprofilercallback4-movedreferences2-method.md | Fixed em dash in mathematical expression |
| icorprofilercallback-movedreferences-method.md | Fixed em dash in mathematical expression |
| sn-exe-strong-name-tool.md | Fixed command options and references to options in documentation |
| resgen-exe-resource-file-generator.md | Fixed return value notation from –1 to -1 |
| mpgo-exe-managed-profile-guided-optimization-tool.md | Fixed command options throughout and updated ms.date metadata |
| mdbg-exe.md | Fixed command option reference in documentation |
| caspol-exe-code-access-security-policy-tool.md | Fixed command options throughout tool documentation |
| al-exe-assembly-linker.md | Fixed command option in Sn.exe example |
| com-interop-sample-com-client-and-net-server.md | Fixed em dash in mathematical expression in code |
| system-datetime-methods.md | Fixed em dash in mathematical expression |
| literals-entity-sql.md | Fixed em dash in code comment (changed to standard double-dash comment) |
| configure-apps/index.md | Fixed em dash in list item (non-command context) |
| how-to-remove-an-assembly-from-the-gac.md | Fixed command option in gacutil example |
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
BillWagner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM @gewarren
Let's ![]()
Reported on X by JetBrains dev - https://x.com/KooKiz/status/1992920135963951538.
(Hide whitespace changes.)
Internal previews
Toggle expand/collapse