summaryrefslogtreecommitdiff
path: root/tools/maat_redis_tool.cpp
diff options
context:
space:
mode:
authorliuwentan <[email protected]>2023-04-07 11:05:01 +0800
committerliuwentan <[email protected]>2023-04-07 11:05:01 +0800
commit4430c8e696aa28f183a53d45ba45f2a9ffa20f0c (patch)
tree5dc8bb61a7cf6d0fc86ecf9473dea416810c51e0 /tools/maat_redis_tool.cpp
parentfb3896c0788d6291ebbe18302eb9c2f6d24e759b (diff)
fix json2iris bug
Diffstat (limited to 'tools/maat_redis_tool.cpp')
-rw-r--r--tools/maat_redis_tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/maat_redis_tool.cpp b/tools/maat_redis_tool.cpp
index 0874c89..68c5072 100644
--- a/tools/maat_redis_tool.cpp
+++ b/tools/maat_redis_tool.cpp
@@ -25,7 +25,7 @@ void maat_tool_print_usage(void)
printf("\t-h [host], redis IP, 127.0.0.1 as default.\n");
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 [dir], dump rules from redis to [dir], %s as default.\n", redis_dump_dir);
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");