@matheusbsbs / matheus-bagliano / commits / e373bb7388
Fork 0

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 <frank@lichtenheld.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Frank Lichtenheld committed Jun 25, 2007 at 16:03 UTC e373bb73889e15452b622df67465b77803876aa6
1 file changed +2
Documentation/git-config.txt
+2
@@ -14,6 +14,7 @@ SYNOPSIS
14 'git-config' [--system | --global] --replace-all name [value [value_regex]]
15 'git-config' [--system | --global] [type] --get name [value_regex]
16 'git-config' [--system | --global] [type] --get-all name [value_regex]
17 +'git-config' [--system | --global] [type] --get-regexp name_regex [value_regex]
18 'git-config' [--system | --global] --unset name [value_regex]
19 'git-config' [--system | --global] --unset-all name [value_regex]
20 'git-config' [--system | --global] --rename-section old_name new_name
@@ -73,6 +74,7 @@ OPTIONS
74
75 --get-regexp::
76 Like --get-all, but interprets the name as a regular expression.
77 + Also outputs the key names.
78
79 --global::
80 For writing options: write to global ~/.gitconfig file rather than