docs(cli): improve documentation for the edits argument when parsing code
This commit is contained in:
parent
27fa1088b9
commit
4514751803
2 changed files with 2 additions and 2 deletions
|
|
@ -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..,
|
||||
|
|
|
|||
|
|
@ -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>`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue