From a42f9c63766065cb42d4fe0ffd7fd188a2d13329 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Sat, 26 Jun 2021 11:02:01 +0800 Subject: [PATCH] sf_usage_ex add action: status --- src/sf_sharding_htable.h | 2 +- src/sf_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sf_sharding_htable.h b/src/sf_sharding_htable.h index a4b2d7d..5fde4f8 100644 --- a/src/sf_sharding_htable.h +++ b/src/sf_sharding_htable.h @@ -96,7 +96,7 @@ typedef struct sf_htable_sharding_context { struct { int count; struct fast_mblock_man *elts; - } allocators; + } allocators; //shared allocators SFShardingHtableKeyType key_type; //id count in the hash entry sf_sharding_htable_insert_callback insert_callback; diff --git a/src/sf_util.c b/src/sf_util.c index b63454b..99c696f 100644 --- a/src/sf_util.c +++ b/src/sf_util.c @@ -96,7 +96,7 @@ int sf_printbuffer(char* buffer,int32_t len) void sf_usage_ex(const char *program, const SFCMDOption *other_options) { fprintf(stderr, "\nUsage: %s [options] " - "[start | stop | restart]\n\noptions:\n", program); + "[start | stop | restart | status]\n\noptions:\n", program); if (other_options != NULL) { const SFCMDOption *option;