diff --git a/redis-cli.c b/redis-cli.c
index 52ef63b5f..2ec17541a 100644
--- a/redis-cli.c
+++ b/redis-cli.c
@@ -191,7 +191,7 @@ static int cliReadBulkReply(int fd) {
     bulklen = atoi(replylen);
     if (bulklen == -1) {
         sdsfree(replylen);
-        printf("(nil)");
+        printf("(nil)\n");
         return 0;
     }
     reply = zmalloc(bulklen);