Open
Description
Hi,
It looks like zdiff command ignores the keyPrefix variable in the RedisOptions (inherited from CommanderOptions.)
I used redis-cli monitor command to validate this.
In other commands (like zrange for example) the prefix added to the key.
Example:
this.redis = new Redis(redisAddress, {keyPrefix: 'myKeyPrefix:', db: redisDbIndex});
this.redis.zdiff(2, key1, key2);
// in monitor: "zdiff" "2" "key1" "key2"
this.redis.zrange(key1, 0, -1);
// in monitor: "zrange" "myKeyPrefix:key1" "0" "-1"
Thanks