From: Junio C Hamano Date: Mon, 26 Aug 2024 17:19:17 GMT Subject: Re: [PATCH] doc: replace 3 dash with correct 2 dash in git-config(1) Message-ID: In-Reply-To: <8c1c031b-4f36-4825-93ef-408c50b0ee2f@gmail.com> Celeste Liu writes: > And is there need a new patch to fix this? Or you will fix it directly? >> >> The synopsis should lose "=" part, as the option does not >> take any arguments. It is a separate documentation bug. We can fix it separately. ----- >8 --------- >8 --------- >8 ----- Subject: git-config.1: two random small fixes The synopsis says --regexp= but the --regexp option is a Boolean that says "the name given is not literal, but a pattern to match the name". Signed-off-by: Junio C Hamano --- diff --git c/Documentation/git-config.txt w/Documentation/git-config.txt index 65c645d461..1ee5c89ba2 100644 --- c/Documentation/git-config.txt +++ w/Documentation/git-config.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git config list' [] [] [--includes] -'git config get' [] [] [--includes] [--all] [--regexp=] [--value=] [--fixed-value] [--default=] +'git config get' [] [] [--includes] [--all] [--regexp] [--value=] [--fixed-value] [--default=] 'git config set' [] [--type=] [--all] [--value=] [--fixed-value] 'git config unset' [] [--all] [--value=] [--fixed-value] 'git config rename-section' []