The class_deprecated enumerator isn't assigned anywhere, so remove it.
Commands that are deprecated have cmd_list_element::cmd_deprecated set
instead.
Change-Id: Ib35e540915c52aa65f13bfe9b8e4e22e6007903c
if (!param_changed)
return false;
- if (c->theclass == class_maintenance || c->theclass == class_deprecated
- || c->theclass == class_obscure)
- return false;
-
- return true;
+ return c->theclass != class_maintenance && c->theclass != class_obscure;
}
\f
Note that help accepts unambiguous abbreviated class names. */
/* Special classes to help_list */
- class_deprecated = -3,
all_classes = -2, /* help without <classname> */
all_commands = -1, /* all */