docs(cli): improve documentation for the edits argument when parsing code

This commit is contained in:
Daniel Jalkut 2025-04-18 23:45:52 -04:00 committed by GitHub
parent 27fa1088b9
commit 4514751803
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ struct Parse {
#[arg(long, short)]
pub quiet: bool,
#[allow(clippy::doc_markdown)]
/// Apply edits in the format: \"row, col delcount insert_text\"
/// Apply edits in the format: \"row,col|position delcount insert_text\", can be supplied multiple times
#[arg(
long,
num_args = 1..,

View file

@ -66,7 +66,7 @@ Suppress main output.
### `--edits <EDITS>...`
Apply edits after parsing the file. Edits are in the form of `row, col delcount insert_text` where row and col are 0-indexed.
Apply edits after parsing the file. Edits are in the form of `row,col|position delcount insert_text` where row and col, or position are 0-indexed.
### `--encoding <ENCODING>`