improve the --file-lines help (#5846)
* improve the file-lines example * fix help order
This commit is contained in:
parent
a72613be50
commit
36af403e6b
@ -422,7 +422,7 @@ fn print_help_file_lines() {
|
||||
will result in no files being formatted. For example,
|
||||
|
||||
```
|
||||
rustfmt --file-lines '[
|
||||
rustfmt src/lib.rs src/foo.rs --file-lines '[
|
||||
{{\"file\":\"src/lib.rs\",\"range\":[7,13]}},
|
||||
{{\"file\":\"src/lib.rs\",\"range\":[21,29]}},
|
||||
{{\"file\":\"src/foo.rs\",\"range\":[10,11]}},
|
||||
|
Loading…
Reference in New Issue
Block a user