| 5587 | } |
| 5588 | |
| 5589 | void version(void) { |
| 5590 | printf("Redis server v=%s sha=%s:%d malloc=%s bits=%d build=%llx\n", |
| 5591 | REDIS_VERSION, |
| 5592 | redisGitSHA1(), |
| 5593 | atoi(redisGitDirty()) > 0, |
| 5594 | ZMALLOC_LIB, |
| 5595 | sizeof(long) == 4 ? 32 : 64, |
| 5596 | (unsigned long long) redisBuildId()); |
| 5597 | exit(0); |
| 5598 | } |
| 5599 | |
| 5600 | void usage(void) { |
| 5601 | fprintf(stderr,"Usage: ./redis-server [/path/to/redis.conf] [options] [-]\n"); |
no test coverage detected