config: mention --url in the synopsis

4e513890008 (builtin/config: introduce "get" subcommand, 2024-05-06) introduced `get` and `--url` but didn’t add `--url` to the synopsis. Acked-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Kristoffer Haugsbakk committed Jul 1, 2025 at 17:14 UTC c4e9775c60b880f06054c22f98520bdb4f1ba38e
2 files changed +2 -2
Documentation/git-config.adoc
+1 -1
@@ -10,7 +10,7 @@ SYNOPSIS
10 --------
11 [verse]
12 'git config list' [<file-option>] [<display-option>] [--includes]
13 -'git config get' [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] <name>
13 +'git config get' [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>
14 'git config set' [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>
15 'git config unset' [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>
16 'git config rename-section' [<file-option>] <old-name> <new-name>
builtin/config.c
+1 -1
@@ -17,7 +17,7 @@
17
18 static const char *const builtin_config_usage[] = {
19 N_("git config list [<file-option>] [<display-option>] [--includes]"),
20 - N_("git config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] <name>"),
20 + N_("git config get [<file-option>] [<display-option>] [--includes] [--all] [--regexp] [--value=<pattern>] [--fixed-value] [--default=<default>] [--url=<url>] <name>"),
21 N_("git config set [<file-option>] [--type=<type>] [--all] [--value=<pattern>] [--fixed-value] <name> <value>"),
22 N_("git config unset [<file-option>] [--all] [--value=<pattern>] [--fixed-value] <name>"),
23 N_("git config rename-section [<file-option>] <old-name> <new-name>"),