summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Lewis <domattthings@gmail.com>2018-09-24 04:05:32 -0700
committerAndrea Leopardi <an.leopardi@gmail.com>2018-09-24 13:05:32 +0200
commit4385ae9df15c22f8216793dd2431e04862fe5c38 (patch)
tree739f90aad344d2e73d2a9c7673aea58417fef364
parente0d1c2e4cae0277e69fec086b92d82f13d2aa033 (diff)
downloadelixir-4385ae9df15c22f8216793dd2431e04862fe5c38.tar.gz
Reword "mix format --check-equivalent" help text (#8222)
[ci skip]
-rw-r--r--lib/mix/lib/mix/tasks/format.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mix/lib/mix/tasks/format.ex b/lib/mix/lib/mix/tasks/format.ex
index 1c9d8be64..8146e5f64 100644
--- a/lib/mix/lib/mix/tasks/format.ex
+++ b/lib/mix/lib/mix/tasks/format.ex
@@ -57,9 +57,9 @@ defmodule Mix.Tasks.Format do
improvements and fixes are applied to the formatter.
* `--check-equivalent` - checks if the files after formatting have the
- same AST as before formatting. If the ASTs are not equivalent,
- it is a bug in the code formatter. This option is recommended if you
- are automatically formatting files.
+ same AST as before formatting. If the ASTs are not equivalent, it is
+ a bug in the code formatter. This option is useful if you suspect you
+ have ran into a formatter bug and you would like confirmation.
* `--dry-run` - does not save files after formatting.