git-config.1: fix description of --regexp in synopsis
PATCH v2 1/1 git-config.1: fix description of --regexp in synopsis
The synopsis says --regexp=<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 <[email protected]>
---
* t0450 strikes again X-<. This should pass that test.
Documentation/git-config.txt | 2 +- builtin/config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/git-config.txt +1 -1
@@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git config list' [<file-option>] [<display-option>] [--includes] -'git config get' [<file-option>] [<display-option>] [--includes] [--all] [--regexp=<regexp>] [--value=<value>] [--fixed-value] [--default=<default>] <name> +'git config get' [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name> 'git config set' [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value> 'git config unset' [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value> 'git config rename-section' [<file-option>] <old-name> <new-name>
builtin/config.c +1 -1
@@ -17,7 +17,7 @@static const char *const builtin_config_usage[] = {N_ ("git config list [<file-option>] [<display-option>] [--includes]" ), -N_ ("git config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp=<regexp>] [--value=<value>] [--fixed-value] [--default=<default>] <name>" ), +N_ ("git config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<value>] [--fixed-value] [--default=<default>] <name>" ),N_ ("git config set [<file-option>] [--type=<type>] [--all] [--value=<value>] [--fixed-value] <name> <value>" ),N_ ("git config unset [<file-option>] [--all] [--value=<value>] [--fixed-value] <name> <value>" ),N_ ("git config rename-section [<file-option>] <old-name> <new-name>" ),
Signature · 1 line
2.46.0-528-g6fe5f670b3
Quoted 7 lines · Junio C Hamano
The synopsis says --regexp=<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 <[email protected]>---
* t0450 strikes again X-<. This should pass that test.
Thanks, this version looks good to me!
Patrick