summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Jelmer Vernooij <jelmer@samba.org>2011-12-27 03:03:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-12-27 11:14:18 -0800
commit67e223edc4013b0b3b1caad336e4a43f6d4c66b8 (patch)
treee9adf78fec81ab84f041d3147ad64bd0f10d460d /builtin
parentconfig: Give error message when not changing a multivar (diff)
downloadtgif-67e223edc4013b0b3b1caad336e4a43f6d4c66b8.tar.xz
Fix an incorrect reference to --set-all.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/config.c b/builtin/config.c
index 211e118d57..b346f868da 100644
--- a/builtin/config.c
+++ b/builtin/config.c
@@ -442,7 +442,7 @@ int cmd_config(int argc, const char **argv, const char *prefix)
ret = git_config_set(argv[0], value);
if (ret == CONFIG_NOTHING_SET)
error("cannot overwrite multiple values with a single value\n"
- " Use a regexp, --add or --set-all to change %s.", argv[0]);
+ " Use a regexp, --add or --replace-all to change %s.", argv[0]);
return ret;
}
else if (actions == ACTION_SET_ALL) {