diff options
author | antirez <antirez@gmail.com> | 2017-07-10 16:41:25 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-07-10 16:41:25 +0200 |
commit | 11182a1a58ef6d36f76f7a5e06d0598254b524d9 (patch) | |
tree | b227c79a6a92608352f148479e06b7a81c460eba | |
parent | fc7ecd8d359160c5b74aa86c09eefdf4e9e2d653 (diff) | |
download | redis-11182a1a58ef6d36f76f7a5e06d0598254b524d9.tar.gz |
redis-check-aof: tell users there is a --fix option.
-rw-r--r-- | src/redis-check-aof.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/redis-check-aof.c b/src/redis-check-aof.c index 09a118eb7..33bb445e7 100644 --- a/src/redis-check-aof.c +++ b/src/redis-check-aof.c @@ -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 { |