From 56183ce0e95f498fe69b7d4e284e1abfb458d2d9 Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Fri, 4 Sep 2015 21:28:37 +0200 Subject: [PATCH] fix outdated help text --- src/bin/rustfmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index 2dc0168aa7f4..86a4faa05f55 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -82,7 +82,7 @@ fn main() { } fn print_usage>(reason: S) { - println!("{}\n\r usage: rustfmt [-h Help] [--write-mode=[true/false]] ", reason.into()); + println!("{}\n\r usage: rustfmt [-h Help] [--write-mode=[replace|overwrite|display]] ", reason.into()); } fn determine_params(args: I) -> Option<(Vec, WriteMode)>