summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-07-02 16:31:22 +0200
committerantirez <antirez@gmail.com>2014-07-02 16:31:22 +0200
commitaa16f87b87a71f6d70e8f43d62550913f18b64fa (patch)
tree84f16e00e39728ea62143858d4bfaf93a16a10e9 /src/redis-cli.c
parent6f20482a8695d8f8313caea11927a39ce1c5fdb7 (diff)
downloadredis-aa16f87b87a71f6d70e8f43d62550913f18b64fa.tar.gz
LATENCY GRAPH implemented.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r--src/redis-cli.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index cef86ef2d..782958b26 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -599,8 +599,9 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
(!strcasecmp(argv[1],"nodes") ||
!strcasecmp(argv[1],"info"))) ||
(argc == 2 && !strcasecmp(command,"client") &&
- !strcasecmp(argv[1],"list")))
-
+ !strcasecmp(argv[1],"list")) ||
+ (argc == 3 && !strcasecmp(command,"latency") &&
+ !strcasecmp(argv[1],"graph")))
{
output_raw = 1;
}