summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeleste Liu <coelacanthushex@gmail.com>2024-08-23 16:21:08 +0800
committerJunio C Hamano <gitster@pobox.com>2024-08-23 08:02:58 -0700
commit596f4ff6ad76dfab2644013da42bc5cfac4a65a4 (patch)
tree7662d56bd3d6252da986f8cc176cf646f38a993d
parent7b91d310ce21aa663e025c8955c46c49ab037a41 (diff)
doc: replace 3 dash with correct 2 dash in git-config(1)
Commit 4e51389000 (builtin/config: introduce "get" subcommand, 2024-05-06) introduced this typo. It uses 3 dashes for regexp argument instead of correct 2 dashes. Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-config.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 65c645d461..79360328aa 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -130,7 +130,7 @@ OPTIONS
--all::
With `get`, return all values for a multi-valued key.
----regexp::
+--regexp::
With `get`, interpret the name as a regular expression. Regular
expression matching is currently case-sensitive and done against a
canonicalized version of the key in which section and variable names