| 165 | } |
| 166 | |
| 167 | static void usage(const char* procname) |
| 168 | { |
| 169 | printf("usage: %s -h[help]\r\n" |
| 170 | "-s redis_addr[127.0.0.1:6379]\r\n" |
| 171 | "-p password[default: \"\"]\r\n" |
| 172 | "-d dbnum[default: 0]\r\n" |
| 173 | "-n count\r\n" |
| 174 | "-C connect_timeout[default: 10]\r\n" |
| 175 | "-T rw_timeout[default: 10]\r\n" |
| 176 | "-H hash_slot_key\r\n" |
| 177 | "-a cmd[set|del|expire|ttl|exists|type|all]\r\n", |
| 178 | procname); |
| 179 | } |
| 180 | |
| 181 | int main(int argc, char* argv[]) |
| 182 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…