redis-check-aof: tell users there is a --fix option.

This commit is contained in:
antirez 2017-07-10 16:41:25 +02:00
parent fc7ecd8d35
commit 11182a1a58

View File

@ -220,7 +220,8 @@ int redis_check_aof_main(int argc, char **argv) {
printf("Successfully truncated AOF\n");
}
} else {
printf("AOF is not valid\n");
printf("AOF is not valid. "
"Use the --fix option to try fixing it.\n");
exit(1);
}
} else {