diff options
| author | zhengchao <[email protected]> | 2018-10-21 11:40:05 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-10-21 11:40:05 +0800 |
| commit | 218a9bf3b9fc16307e4e6a4bdf5f22aa8eeb7f18 (patch) | |
| tree | 2503206042db27d138e6b2cc5ed0d48665cb8753 /tools | |
| parent | f7500b9960915553fbc3a4f11c4f2de68156dfb8 (diff) | |
修复maat_redis_tool帮助提示的打印错误。
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/maat_redis_tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
