• Binbin's avatar
    Add SENTINEL command flag to CLIENT/COMMANDS subcommands (#10904) · 35e836c2
    Binbin authored
    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.
    35e836c2
00-base.tcl 4.21 KB