Skip to content

Commit 50a138a

Browse files
ssilvatamird
authored andcommitted
Document --dump-default-config in README.md
Fixes #317.
1 parent 23be63f commit 50a138a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ options covering different styles. File an issue, or even better, submit a PR.
208208
```
209209
* When you run rustfmt, place a file named `rustfmt.toml` or `.rustfmt.toml` in
210210
target file directory or its parents to override the default settings of
211-
rustfmt.
211+
rustfmt. You can generate a file containing the default configuration with
212+
`rustfm --dump-default-config rustfmt.toml` and customize as needed.
212213
* After successful compilation, a `rustfmt` executable can be found in the
213214
target directory.
214215
* If you're having issues compiling Rustfmt (or compile errors when trying to

0 commit comments

Comments
 (0)