Documentation/git-config: fix --get-all description
authorJohn Keeping <john@keeping.me.uk>
Sun, 28 Feb 2016 11:54:37 +0000 (11:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Feb 2016 20:01:45 +0000 (12:01 -0800)
--get does not fail if a key is multi-valued, it returns the last value
as described in its documentation. Clarify the description of --get-all
to avoid implying that --get does fail in this case.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
index 6a7250785eea8113dae2bff54fadbfc6e855d14a..409df406fa2eba8cd69658526a6cc0785d6d0577 100644 (file)
@@ -86,8 +86,7 @@ OPTIONS
        found and the last value if multiple key values were found.
 
 --get-all::
-       Like get, but does not fail if the number of values for the key
-       is not exactly one.
+       Like get, but returns all values for a multi-valued key.
 
 --get-regexp::
        Like --get-all, but interprets the name as a regular expression and