Skip to content

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

Merged
epage merged 1 commit intoclap-rs:masterfrom
8LWXpg:patch-1
Jan 27, 2025
Merged

fix(complete): Fix single quote escaping in PowerShell#5892
epage merged 1 commit intoclap-rs:masterfrom
8LWXpg:patch-1

Conversation

@8LWXpg
Copy link
Copy Markdown
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
@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