sf_usage_ex add action: status
parent
c960975d65
commit
a42f9c6376
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue