summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste Liu <coelacanthushex@gmail.com>2024-08-23 10:21:08 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-23 17:02:58 +0200
commit596f4ff6ad76dfab2644013da42bc5cfac4a65a4 (patch)
tree7662d56bd3d6252da986f8cc176cf646f38a993d
parentbuiltin/config: display subcommand help (diff)
downloadgit-596f4ff6ad76dfab2644013da42bc5cfac4a65a4.tar.xz
git-596f4ff6ad76dfab2644013da42bc5cfac4a65a4.zip
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