Correct command that lists config options

`cargo run -- --config-help` Simply runs a project without printing the config options.
`rustfmt --config-help` actually prints the config files.
This commit is contained in:
Isaac Andrade 2016-02-03 16:50:39 -07:00
parent a6d70547e0
commit 614eb5393e

View File

@ -90,7 +90,7 @@ notes above on running rustfmt.
Rustfmt is designed to be very configurable. You can create a TOML file called Rustfmt is designed to be very configurable. You can create a TOML file called
rustfmt.toml, place it in the project directory and it will apply the options rustfmt.toml, place it in the project directory and it will apply the options
in that file. See `cargo run -- --config-help` for the options which are available, in that file. See `rustfmt --config-help` for the options which are available,
or if you prefer to see source code, [src/config.rs](src/config.rs). or if you prefer to see source code, [src/config.rs](src/config.rs).
By default, Rustfmt uses a style which (mostly) conforms to the By default, Rustfmt uses a style which (mostly) conforms to the