Re: [PATCH] doc: add --show-names for git config
- From
Yukai Chou <muzimuzhi@gmail.com>
- Date
- Aug 19, 2024, 00:59 UTC
- Message-ID
- <CAEg0tHRave5gCWeFuTFeZiR0U=R-bnW6tYGXJp9GQP=oVh5gRg@mail.gmail.com>
- In-Reply-To
- <CAEg0tHRL9+tqY0k2GiGzhc-VgMVsHqppLRFHbc=M33R6AoLXEg@mail.gmail.com>
> +--show-names:: > + Output also the names of config variables for `list` or > + `get`. > +
A bit of inconsistency: both singular (`--name-only` [1]) and plural (`--show-names`) forms are used in similar git-config(1) options.
As both `--show-origin` and `--show-scope` use the singular forms, perhaps `--show-names` can be renamed to `--show-name` too?
[1]: https://git-scm.com/docs/git-config#Documentation/git-config.txt---name-only