Skip to content

Commit

Permalink
config: Complete documentation of --get-regexp
Browse files Browse the repository at this point in the history
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 <frank@lichtenheld.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Frank Lichtenheld authored and Junio C Hamano committed Jun 27, 2007
1 parent e3ae6bb commit e373bb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/git-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ SYNOPSIS
'git-config' [--system | --global] --replace-all name [value [value_regex]]
'git-config' [--system | --global] [type] --get name [value_regex]
'git-config' [--system | --global] [type] --get-all name [value_regex]
'git-config' [--system | --global] [type] --get-regexp name_regex [value_regex]
'git-config' [--system | --global] --unset name [value_regex]
'git-config' [--system | --global] --unset-all name [value_regex]
'git-config' [--system | --global] --rename-section old_name new_name
Expand Down Expand Up @@ -73,6 +74,7 @@ OPTIONS

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

--global::
For writing options: write to global ~/.gitconfig file rather than
Expand Down

0 comments on commit e373bb7

Please sign in to comment.