diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 79360328aa9de3..7f81fbbea83a6e 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git config list' [] [] [--includes] -'git config get' [] [] [--includes] [--all] [--regexp=] [--value=] [--fixed-value] [--default=] +'git config get' [] [] [--includes] [--all] [--regexp] [--value=] [--fixed-value] [--default=] 'git config set' [] [--type=] [--all] [--value=] [--fixed-value] 'git config unset' [] [--all] [--value=] [--fixed-value] 'git config rename-section' [] @@ -309,7 +309,7 @@ recommended to migrate to the new syntax. Replaced by `git config get [--value=] `. --get-all []:: - Replaced by `git config get [--value=] --all --show-names `. + Replaced by `git config get [--value=] --all `. --get-regexp :: Replaced by `git config get --all --show-names --regexp `. diff --git a/builtin/config.c b/builtin/config.c index e00d983596b8db..95c8a0091542b5 100644 --- a/builtin/config.c +++ b/builtin/config.c @@ -17,7 +17,7 @@ static const char *const builtin_config_usage[] = { N_("git config list [] [] [--includes]"), - N_("git config get [] [] [--includes] [--all] [--regexp=] [--value=] [--fixed-value] [--default=] "), + N_("git config get [] [] [--includes] [--all] [--regexp] [--value=] [--fixed-value] [--default=] "), N_("git config set [] [--type=] [--all] [--value=] [--fixed-value] "), N_("git config unset [] [--all] [--value=] [--fixed-value] "), N_("git config rename-section [] "),