log doc: the argument to --encoding is not optional

$ git log --encoding fatal: Option '--encoding' requires a value $ git rev-list --encoding fatal: Option '--encoding' requires a value The argument to --encoding has always been mandatory. Unfortunately manpages like git-rev-list(1), git-log(1), and git-show(1) have described the option's syntax as "--encoding[=<encoding>]" since it was first documented. Clarify by removing the extra brackets. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jonathan Nieder committed Aug 2, 2013 at 15:16 UTC e6604c3537e8b60d6cbc821e7d356924c0a0e809
2 files changed +2 -2
Documentation/git-rev-list.txt
+1 -1
@@ -40,7 +40,7 @@ SYNOPSIS
40 [ \--right-only ]
41 [ \--cherry-mark ]
42 [ \--cherry-pick ]
43 - [ \--encoding[=<encoding>] ]
43 + [ \--encoding=<encoding> ]
44 [ \--(author|committer|grep)=<pattern> ]
45 [ \--regexp-ignore-case | -i ]
46 [ \--extended-regexp | -E ]
Documentation/pretty-options.txt
+1 -1
@@ -28,7 +28,7 @@ people using 80-column terminals.
28 This is a shorthand for "--pretty=oneline --abbrev-commit"
29 used together.
30
31 ---encoding[=<encoding>]::
31 +--encoding=<encoding>::
32 The commit objects record the encoding used for the log message
33 in their encoding header; this option can be used to tell the
34 command to re-code the commit log message in the encoding