Auto-enter slaveMode when SYNC from redis-cli
Auto-enter slaveMode when SYNC from redis-cli

If someone asks for SYNC or PSYNC from redis-cli,
automatically enter slaveMode (as if they ran
redis-cli --slave) and continue printing the replication
stream until either they Ctrl-C or the master gets disconnected.

himoca/redis,spearhead-ea/redis,ttuna/msot-redis,Hailei/redis,ttuna/msot-redis,spearhead-ea/redis,splitice/redis,xuzhezhaozhao/redis_reading,ttuna/msot-redis,xuzhezhaozhao/redis_reading,spearhead-ea/redis,Hailei/redis,jxwr/redis,ksarch-saas/redis,ramonsnir/redis,splitice/redis,Hailei/redis,jxwr/redis,darksideofthemoo/redis-histogram,ttuna/msot-redis,MSOpenTech/redis,himoca/redis,ttuna/msot-redis,HunanTV/redis,louisliangjun/redis,xuzhezhaozhao/redis_reading,HunanTV/redis,ramonsnir/redis,maodeyi/redis_lua,louisliangjun/redis,ksarch-saas/redis,louisliangjun/redis,darksideofthemoo/redis-histogram,ksarch-saas/redis,darksideofthemoo/redis-histogram,maodeyi/redis_lua,Hailei/redis,ramonsnir/redis,HunanTV/redis,splitice/redis,MSOpenTech/redis,splitice/redis,jxwr/redis,slfs007/mk-redis,HunanTV/redis,maodeyi/redis_lua,slfs007/mk-redis,MSOpenTech/redis,darksideofthemoo/redis-histogram,MSOpenTech/redis,ksarch-saas/redis,slfs007/mk-redis,himoca/redis,louisliangjun/redis,xuzhezhaozhao/redis_reading,MSOpenTech/redis