Re: [PATCH] fix: include the type flag in the cli docs
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Feb 27, 2022, 04:29 UTC
- Message-ID
- <f171e157-7dbc-b07e-7164-c62e2427fbe2@gmail.com>
- In-Reply-To
- <pull.1220.git.git.1645853661519.gitgitgadget@gmail.com>
On 26/02/22 12.34, Matheus Felipe via GitGitGadget wrote:
Show 8 quoted lines
> From: Matheus Felipe <matheusfelipeog@protonmail.com> > > When the `git config --global --help` command is invoked, > the cli documentation is shown in the terminal with a small > error in one of the values of the Type group, which is the > absence of the type flag in the `--type` argument. > This commit fixes that. >
What about the commit message below?
``` The usage help for --type option of `git config` is missing `type` in the argument placeholder (`<>`). Add it. ```
> - OPT_CALLBACK('t', "type", &type, "", N_("value is given this type"), option_parse_type),
> + OPT_CALLBACK('t', "type", &type, N_("type"), N_("value is given this type"), option_parse_type),The help should be `give the value the specified type`.
-- An old man doll... just what I always wanted! - Clara