mirror of
https://github.com/redis/redis.git
synced 2026-02-03 20:39:54 -05:00
This was harmless because we marked the parent command with SENTINEL flag. So the populateCommandTable was ok. And we also don't show the flag (SENTINEL and ONLY-SENTNEL) in COMMAND INFO. In this PR, we also add the same CMD_SENTINEL and CMD_ONLY_SENTINEL flags check when populating the sub-commands. so that in the future it'll be possible to add some sub-commands to sentinel or sentinel-only but not others. |
||
|---|---|---|
| .. | ||
| tests | ||
| tmp | ||
| run.tcl | ||