From 218a9bf3b9fc16307e4e6a4bdf5f22aa8eeb7f18 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Sun, 21 Oct 2018 11:40:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dmaat=5Fredis=5Ftool=E5=B8=AE?= =?UTF-8?q?=E5=8A=A9=E6=8F=90=E7=A4=BA=E7=9A=84=E6=89=93=E5=8D=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/maat_redis_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/maat_redis_tool.cpp b/tools/maat_redis_tool.cpp index 82931c5..6bbc26d 100644 --- a/tools/maat_redis_tool.cpp +++ b/tools/maat_redis_tool.cpp @@ -21,7 +21,7 @@ void maat_tool_print_usage(void) printf("\t-p [port], redis port, 6379 as default.\n"); printf("\t-n [db], redis db, 0 as default.\n"); printf("\t-d [dir], dump rules from redis to [dir], %s as default.\n",redis_dump_dir); - printf("\t-d [version], dump specific [version] from redis, dump latest version as default.\n"); + printf("\t-v [version], dump specific [version] from redis, dump latest version as default.\n"); printf("\t-j [payload.json], add or delete rules as maat json. Must have field compile_table field, and plugin table's valid flag must be in the last column.\n"); printf("\t-t [timeout], timeout config after t seconds, default is 0 which means never timeout.\n"); printf("example: ./maat_redis_tool -h 127.0.0.1 -p 6379 -d %s\n",redis_dump_dir);