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.

alpha8/redis,janeasystems/redis,liqiang199105/redis,jaambee/redis,shanegxxiao/redis,jqk6/redis,ideaar/redis,enginekit/redis,Cybermaxs/redis,jqk6/redis,laurencee/redis,alpha8/redis,shanegxxiao/redis,fanxu/redis,upsoft/redis,hanmichael/redis,quangnguyen90/redis,kolonse/redis,jqk6/redis,erwin00776/redis-2.8-optimize,upsoft/redis,fanxu/redis,jaambee/redis,kolonse/redis,laurencee/redis,kts12345/redis,StartTheShift/redis-shift,janeasystems/redis,Cybermaxs/redis,laurencee/redis,sidsen/redis,ScottKaiGu/redis,janeasystems/redis,damy/redis,kolonse/redis,shanegxxiao/redis,kolonse/redis,miminus/redis,liqiang199105/redis,kts12345/redis,jacklee0810/redis,powerumc/MyRedis,Jonavin/redis,kts12345/redis,jacklee0810/redis,sidsen/redis,nandhanurrevanth/redis,damy/redis,ScottKaiGu/redis,jqk6/redis,ideaar/redis,ideaar/redis,ScottKaiGu/redis,quangnguyen90/redis,LittlePeng/redis,alpha8/redis,StartTheShift/redis-shift,powerumc/MyRedis_old,erwin00776/redis-2.8-optimize,jacklee0810/redis,adamweixuan/redis,sidsen/redis,fanxu/redis,laurencee/redis,powerumc/MyRedis,hanmichael/redis,liqiang199105/redis,powerumc/MyRedis_old,crask/redis-cutter,laurencee/redis,Cybermaxs/redis,hanmichael/redis,damy/redis,nandhanurrevanth/redis,hanmichael/redis,adamweixuan/redis,erwin00776/redis-2.8-optimize,ideaar/redis,quangnguyen90/redis,jaambee/redis,upsoft/redis,powerumc/MyRedis_old,LittlePeng/redis,enginekit/redis,nandhanurrevanth/redis,enginekit/redis,quangnguyen90/redis,jqk6/redis,crask/redis-cutter,sidsen/redis,Jonavin/redis,janeasystems/redis,liqiang199105/redis,alpha8/redis,Jonavin/redis,adamweixuan/redis,quangnguyen90/redis,enginekit/redis,Jonavin/redis,kolonse/redis,sidsen/redis,damy/redis,jacklee0810/redis,adamweixuan/redis,nandhanurrevanth/redis,miminus/redis,ScottKaiGu/redis,shanegxxiao/redis,upsoft/redis,miminus/redis,fanxu/redis,upsoft/redis,Cybermaxs/redis,adamweixuan/redis,janeasystems/redis,sidsen/redis,ScottKaiGu/redis,miminus/redis,miminus/redis,LittlePeng/redis,powerumc/MyRedis,kts12345/redis,shanegxxiao/redis,powerumc/MyRedis_old,ideaar/redis,liqiang199105/redis,damy/redis,hanmichael/redis,nandhanurrevanth/redis,Jonavin/redis,Cybermaxs/redis,enginekit/redis,jacklee0810/redis,jaambee/redis,crask/redis-cutter,kts12345/redis,jaambee/redis,erwin00776/redis-2.8-optimize,StartTheShift/redis-shift,alpha8/redis