]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-config.1: fix description of --regexp in synopsis
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Aug 2024 18:48:57 +0000 (11:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Aug 2024 18:49:37 +0000 (11:49 -0700)
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 <gitster@pobox.com>
Documentation/git-config.txt
builtin/config.c

index c4c9ed1e98035ed6c08222544b945a218d7e6415..1ee5c89ba2bca9931d260083b162c26043d1b977 100644 (file)
@@ -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>
index 20a0b64090eab56d3b6a54073e338fdbf5db4448..97e4d5f57ce318e685621d6e6e7d6ef1de13facb 100644 (file)
@@ -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>"),