Skip to content

Commit f0570e2

Browse files
committed
Document --dump-default-config in README.md
Fixes #317
1 parent 131a375 commit f0570e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ options covering different styles. File an issue, or even better, submit a PR.
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
211211
rustfmt.
212+
* You can dump the default configuration with
213+
`rustfmt --dump-default-config rustfmt.toml` and customize it as needed.
212214
* After successful compilation, a `rustfmt` executable can be found in the
213215
target directory.
214216
* If you're having issues compiling Rustfmt (or compile errors when trying to

0 commit comments

Comments
 (0)