diff options
author | Johannes Sixt <j6t@kdbg.org> | 2021-02-23 22:11:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-23 13:30:45 -0800 |
commit | b865734760c2f677d625a1d939071844048051e4 (patch) | |
tree | 9ee9012f195003309f9b1a6343e95607fabe5f05 /builtin/tag.c | |
parent | Merge branch 'tb/ci-run-cocci-with-18.04' into maint (diff) | |
download | tgif-b865734760c2f677d625a1d939071844048051e4.tar.xz |
replace "parameters" by "arguments" in error messages
When an error message informs the user about an incorrect command
invocation, it should refer to "arguments", not "parameters".
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/tag.c')
-rw-r--r-- | builtin/tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/tag.c b/builtin/tag.c index 24d35b746d..c19198beb1 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -540,7 +540,7 @@ int cmd_tag(int argc, const char **argv, const char *prefix) object_ref = argc == 2 ? argv[1] : "HEAD"; if (argc > 2) - die(_("too many params")); + die(_("too many arguments")); if (get_oid(object_ref, &object)) die(_("Failed to resolve '%s' as a valid ref."), object_ref); |