• Binbin's avatar
    COMMAND DOCS avoid adding summary/since if they don't exist (#10252) · 7f4cca11
    Binbin authored
    If summary or since is empty, we used to return NULL in
    COMMAND DOCS. Currently all redis commands will have these
    two fields.
    
    But not for module command, summary and since are optional
    for RM_SetCommandInfo. With the change in #10043, if a module
    command doesn't have the summary or since, redis-cli will
    crash (see #10250).
    
    In this commit, COMMAND DOCS avoid adding summary or since
    when they are missing.
    7f4cca11
subcommands.tcl 2.52 KB