summaryrefslogtreecommitdiff
path: root/Documentation/git-rev-list.txt
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2013-08-02 22:16:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-08-05 15:19:47 (GMT)
commite6604c3537e8b60d6cbc821e7d356924c0a0e809 (patch)
tree861536818847dd0a88a61535c2513c83dea1dfea /Documentation/git-rev-list.txt
parent117eea7eaaeb5ecb77d9b7cebdb40b4e85f37374 (diff)
downloadgit-e6604c3537e8b60d6cbc821e7d356924c0a0e809.zip
git-e6604c3537e8b60d6cbc821e7d356924c0a0e809.tar.gz
git-e6604c3537e8b60d6cbc821e7d356924c0a0e809.tar.bz2
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>
Diffstat (limited to 'Documentation/git-rev-list.txt')
-rw-r--r--Documentation/git-rev-list.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index 65ac27e..045b37b 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -40,7 +40,7 @@ SYNOPSIS
[ \--right-only ]
[ \--cherry-mark ]
[ \--cherry-pick ]
- [ \--encoding[=<encoding>] ]
+ [ \--encoding=<encoding> ]
[ \--(author|committer|grep)=<pattern> ]
[ \--regexp-ignore-case | -i ]
[ \--extended-regexp | -E ]