Re: [PATCH v2 4/5] pretty format %(trailers): add a "keyonly"
On Sun, Dec 6, 2020 at 1:25 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 9 quoted lines
> --- a/Documentation/pretty-formats.txt
> +++ b/Documentation/pretty-formats.txt
> @@ -282,8 +282,8 @@ option is given with no value, it's enabled.
> ** 'unfold[=BOOL]': make it behave as if interpret-trailer's `--unfold`
> option was given. E.g.,
> `%(trailers:only,unfold=true)` unfolds and shows all trailer lines.
> -** 'valueonly[=BOOL]': skip over the key part of the trailer line and only
> - show the value part.
> +** 'keyonly[=BOOL]': only show the key part of the trailer.
Here also "[=<BOOL>]" would be more consistent.
> +** 'valueonly[=BOOL]': only show the value part of the trailer.