sf_usage_ex add action: status

pull/1/head
YuQing 2021-06-26 11:02:01 +08:00
parent c960975d65
commit a42f9c6376
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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] <config_file> "
"[start | stop | restart]\n\noptions:\n", program);
"[start | stop | restart | status]\n\noptions:\n", program);
if (other_options != NULL) {
const SFCMDOption *option;