blame: fix option name in error message
authorMax Kirillov <max@max630.net>
Mon, 26 Oct 2015 05:29:00 +0000 (07:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Oct 2015 20:08:21 +0000 (13:08 -0700)
The option name used in blame's UI is `--reverse`.

Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c
index 303e217ae919f21aa4d4574bd1720b5f4d635c32..b5474690153bae66727de6f4d44d6e395eddb9e4 100644 (file)
@@ -2677,7 +2677,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
                sb.commits.compare = compare_commits_by_commit_date;
        }
        else if (contents_from)
-               die("--contents and --children do not blend well.");
+               die("--contents and --reverse do not blend well.");
        else {
                final_commit_name = prepare_initial(&sb);
                sb.commits.compare = compare_commits_by_reverse_commit_date;