about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristoph Burgdorf <christoph.burgdorf@bvsn.org>2015-09-04 21:28:37 +0200
committerChristoph Burgdorf <christoph.burgdorf@bvsn.org>2015-09-04 21:28:37 +0200
commit56183ce0e95f498fe69b7d4e284e1abfb458d2d9 (patch)
tree9975d59606f2e1db1bead4b0d7e1b6a732584272
parent17302f8967f22919ff374cb8e57f81e3741a85f3 (diff)
fix outdated help text
-rw-r--r--src/bin/rustfmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs
index 2dc0168aa7f..86a4faa05f5 100644
--- a/src/bin/rustfmt.rs
+++ b/src/bin/rustfmt.rs
@@ -82,7 +82,7 @@ fn main() {
 }
 
 fn print_usage<S: Into<String>>(reason: S) {
-    println!("{}\n\r usage: rustfmt [-h Help] [--write-mode=[true/false]] <file_name>", reason.into());
+    println!("{}\n\r usage: rustfmt [-h Help] [--write-mode=[replace|overwrite|display]] <file_name>", reason.into());
 }
 
 fn determine_params<I>(args: I) -> Option<(Vec<String>, WriteMode)>