about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIsaac Andrade <isaac.nic@gmail.com>2016-02-03 16:50:39 -0700
committerIsaac Andrade <isaac.nic@gmail.com>2016-02-03 16:50:39 -0700
commit614eb5393e8380f1512e104fec60fd0bf202b776 (patch)
tree77e3db51d95ebedbdf97c5643401655b895dc3c0
parenta6d70547e0fdcb38100d80539a8a881c54acc595 (diff)
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.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0fcfd9b3d22..bf6585a8576 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