diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-10-13 17:39:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-13 09:32:57 -0700 |
commit | d9054a19ed2656007a4ed198f1f07a00da9e7103 (patch) | |
tree | 0ae97226aaf0f54e90962ade06e9210fd72b647a /Documentation/git-interpret-trailers.txt | |
parent | 3e4ebe3a40a799ce0b19e29d2fe62a36a196469c (diff) | |
download | git-d9054a19ed2656007a4ed198f1f07a00da9e7103.tar.gz |
doc txt & -h consistency: add missing options
Change those built-in commands that were attempting to exhaustively
list the options in the "-h" output to actually do so, and always
have *.txt documentation know about the exhaustive list of options.
Let's also fix the documentation and -h output for those built-in
commands where the *.txt and -h output was a mismatch of missing
options on both sides.
In the case of "interpret-trailers" fixing the missing options reveals
that the *.txt version was implicitly claiming that the command had
two operating modes, which a look at the -h version (and studying the
documentation) will show is not the case.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-interpret-trailers.txt')
-rw-r--r-- | Documentation/git-interpret-trailers.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt index 956a01d184..057744e6d7 100644 --- a/Documentation/git-interpret-trailers.txt +++ b/Documentation/git-interpret-trailers.txt @@ -8,8 +8,9 @@ git-interpret-trailers - Add or parse structured information in commit messages SYNOPSIS -------- [verse] -'git interpret-trailers' [<options>] [(--trailer <token>[(=|:)<value>])...] [<file>...] -'git interpret-trailers' [<options>] [--parse] [<file>...] +'git interpret-trailers' [--in-place] [--trim-empty] + [(--trailer <token>[(=|:)<value>])...] + [--parse] [<file>...] DESCRIPTION ----------- |