Merge branch 'jc/color-diff-doc' into maint-1.8.1
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 20:44:53 +0000 (13:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 20:44:53 +0000 (13:44 -0700)
The "--color=<when>" argument to the commands in the diff family
was described poorly.

* jc/color-diff-doc:
diff-options: unconfuse description of --color

Documentation/diff-options.txt
index 39f2c5074c1ac370976bce36cbceb1a676064cfe..bbfe8f8f35316462f02864722fdc3c253a16cd01 100644 (file)
@@ -175,8 +175,8 @@ any of those replacements occurred.
 
 --color[=<when>]::
        Show colored diff.
-       The value must be `always` (the default for `<when>`), `never`, or `auto`.
-       The default value is `never`.
+       `--color` (i.e. without '=<when>') is the same as `--color=always`.
+       '<when>' can be one of `always`, `never`, or `auto`.
 ifdef::git-diff[]
        It can be changed by the `color.ui` and `color.diff`
        configuration settings.