Skip to content

Commit

Permalink
Updates to readme based on feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 23, 2016
1 parent 561323e commit 2ffb5fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -53,10 +53,10 @@ binary and library targets of your crate.
You'll probably want to specify the write mode. Currently, there are modes for
diff, replace, overwrite, display, coverage, and checkstyle.

* `replace` Is the default and overwrites the original files after renaming them.
* `overwrite` rustfmt does not backup the source files.
* `display` Will print the formatted file to stdout.
* `diff` Will print a diff between the current file and formatted file to stdout.
* `replace` Is the default and overwrites the original files after creating backups of the files.
* `overwrite` Overwrites the original files _without_ creating backups.
* `display` Will print the formatted files to stdout.
* `diff` Will print a diff between the original files and formatted files to stdout.
* `checkstyle` Will output the lines that need to be corrected as a checkstyle XML file,
that can be used by tools like Jenkins.

Expand Down

0 comments on commit 2ffb5fd

Please sign in to comment.