diff --git a/cli/src/main.rs b/cli/src/main.rs index 2dd5c66c..48b0aec5 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -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.., diff --git a/docs/src/cli/parse.md b/docs/src/cli/parse.md index 7f30cdb0..97c6422a 100644 --- a/docs/src/cli/parse.md +++ b/docs/src/cli/parse.md @@ -66,7 +66,7 @@ Suppress main output. ### `--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 `