]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git.txt: fix synopsis of `--config-env` missing the equals sign
authorPatrick Steinhardt <ps@pks.im>
Thu, 29 Apr 2021 12:55:29 +0000 (14:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Apr 2021 00:46:46 +0000 (09:46 +0900)
When executing `git -h`, then the `--config-env` documentation rightly
lists the option as requiring an equals between the option and its
argument: this is the only currently supported format. But the git(1)
manpage incorrectly lists the option as taking a space in between.

Fix the issue by adding the missing space.

Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-of-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt

index 3b0f87a71bd65856a2eae3a491d485bbefc12282..4ac36a4742e290de74d31547bf9c1116f57754a1 100644 (file)
@@ -13,7 +13,7 @@ SYNOPSIS
     [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
     [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
     [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
-    [--super-prefix=<path>] [--config-env <name>=<envvar>]
+    [--super-prefix=<path>] [--config-env=<name>=<envvar>]
     <command> [<args>]
 
 DESCRIPTION