log doc: the argument to --encoding is not optional
commite6604c3537e8b60d6cbc821e7d356924c0a0e809
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 2 Aug 2013 22:16:40 +0000 (2 15:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 15:19:47 +0000 (5 08:19 -0700)
tree861536818847dd0a88a61535c2513c83dea1dfea
parent117eea7eaaeb5ecb77d9b7cebdb40b4e85f37374
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>
Documentation/git-rev-list.txt
Documentation/pretty-options.txt