Skip to content

docs(cli): document $$ escape in --help for replace_with#342

Open
fuleinist wants to merge 1 commit into
chmln:masterfrom
fuleinist:fix/help-escape-dollar
Open

docs(cli): document $$ escape in --help for replace_with#342
fuleinist wants to merge 1 commit into
chmln:masterfrom
fuleinist:fix/help-escape-dollar

Conversation

@fuleinist
Copy link
Copy Markdown

Summary

Issue #341: The 690081 escape syntax is documented in the README but missing from --help output.

The replace_with arg help only mentioned , capture groups but didn't document how to escape a literal $, which is a common need. Added one line to the doc comment noting that 690081 produces a literal $.

Test plan

cargo run --bin sd -- --help now shows the 690081 escape note under the replace_with argument.

Related

Issue chmln#341: $$ syntax is documented in README but missing from --help output.

The replace_with arg help only mentioned $1, $2 capture groups but didn't
document how to escape a literal $, which is a common need. Added one line
to the doc comment noting that $$ produces a literal $.
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.

1 participant