docs(cli): improve documentation for the edits argument when parsing code
(cherry picked from commit 4514751803)
This commit is contained in:
parent
0d360a1831
commit
779d613941
2 changed files with 3 additions and 2 deletions
|
|
@ -206,7 +206,8 @@ 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