From 87c56544e249b923a027ab91fcae07bcbd475baf Mon Sep 17 00:00:00 2001 From: Pierre-Etienne Bougue Date: Fri, 18 May 2018 16:40:58 +0200 Subject: [PATCH] Remove "write-mode" from doc "write-mode" param is now deleted and mentioning it in doc was misleading --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a134a7bbdecc..051820010d3d 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ completed without error (whether or not changes were made). ## Checking style on a CI server To keep your code base consistently formatted, it can be helpful to fail the CI build -when a pull request contains unformatted code. Using `--write-mode=check` instructs +when a pull request contains unformatted code. Using `--check` instructs rustfmt to exit with an error code if the input is not formatted correctly. It will also print any found differences.