]> git.ipfire.org Git - thirdparty/git.git/commit
git-config.1: remove value from positional args in unset usage
authorJosh Heinrichs <joshiheinrichs@gmail.com>
Tue, 8 Oct 2024 14:29:20 +0000 (08:29 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Oct 2024 06:35:45 +0000 (23:35 -0700)
commitf36b8cbaefd8ba0f815ff05a79ddda3ee814a09f
tree69a8f4df94bb9cabef66fae0c3b7cd87bbafe216
parent777489f9e09c8d0dd6b12f9d90de6376330577a2
git-config.1: remove value from positional args in unset usage

The synopsis for `git config unset` mentions two positional arguments:
`<name>` and `<value>`. While the first argument is correct, the second
is not. Users are expected to provide the value via `--value=<value>`.

Remove the positional argument. The `--value=<value>` option is already
documented correctly, so this is all we need to do to fix the
documentation.

Signed-off-by: Josh Heinrichs <joshiheinrichs@gmail.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
builtin/config.c