Skip to content

Commit e373bb7

Browse files
flichtenheldgitster
authored andcommitted
config: Complete documentation of --get-regexp
The asciidoc documentation of the --get-regexp option was incomplete. Add some missing pieces: - List the option in SYNOPSIS - Mention that key names are printed Signed-off-by: Frank Lichtenheld <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e3ae6bb commit e373bb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/git-config.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ SYNOPSIS
1414
'git-config' [--system | --global] --replace-all name [value [value_regex]]
1515
'git-config' [--system | --global] [type] --get name [value_regex]
1616
'git-config' [--system | --global] [type] --get-all name [value_regex]
17+
'git-config' [--system | --global] [type] --get-regexp name_regex [value_regex]
1718
'git-config' [--system | --global] --unset name [value_regex]
1819
'git-config' [--system | --global] --unset-all name [value_regex]
1920
'git-config' [--system | --global] --rename-section old_name new_name
@@ -73,6 +74,7 @@ OPTIONS
7374

7475
--get-regexp::
7576
Like --get-all, but interprets the name as a regular expression.
77+
Also outputs the key names.
7678

7779
--global::
7880
For writing options: write to global ~/.gitconfig file rather than

0 commit comments

Comments
 (0)