Merged revisions 43492 via svnmerge from
[asterisk/asterisk.git] / main / cli.c
index 8d53aaa..698f249 100644 (file)
@@ -1153,6 +1153,8 @@ static int __ast_cli_register(struct ast_cli_entry *e, struct ast_cli_entry *ed)
                   To show command B, you just need to always use ed->_full_cmd.
                 */
                e->_deprecated_by = S_OR(ed->_deprecated_by, ed->_full_cmd);
+       } else {
+               e->deprecated = 0;
        }
 
        lf = strlen(fulle);