From 614eb5393e8380f1512e104fec60fd0bf202b776 Mon Sep 17 00:00:00 2001 From: Isaac Andrade Date: Wed, 3 Feb 2016 16:50:39 -0700 Subject: [PATCH] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fcfd9b3d220..bf6585a8576e 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ notes above on running rustfmt. 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 -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). By default, Rustfmt uses a style which (mostly) conforms to the