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

fix(complete): Fix single quote escaping in PowerShell #5892

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

8LWXpg
Copy link
Contributor

@8LWXpg 8LWXpg commented Jan 25, 2025

fix #5820

PowerShell treats as regular single quote, so it needs to be escaped with single quote as well.

@8LWXpg 8LWXpg changed the title fix(complete): fix single quote escaping in PowerShell fix(complete): Fix single quote escaping in PowerShell Jan 25, 2025
@epage epage merged commit 7e54542 into clap-rs:master Jan 27, 2025
25 checks passed
@8LWXpg 8LWXpg deleted the patch-1 branch January 27, 2025 15:22
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.

clap_complete generates invalid powershell code when docs have RIGHT_SINGLE_QUOTATION_MARK
2 participants