2005-03-08 Paul Jakma <paul.jakma@sun.com>
* command.c: (cmd_describe_command_real) sign compile warning fix
(cmd_complete_command_real) ditto.
(config_list_cmd) Don't list hidden or deprecated commands,
hiding these from tab completion is still to be done.
* command.h: cmd attr enum should start at 1.
diff --git a/lib/command.h b/lib/command.h
index 1480833..6fd42fa 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -122,7 +122,7 @@
enum
{
- CMD_ATTR_DEPRECATED,
+ CMD_ATTR_DEPRECATED = 1,
CMD_ATTR_HIDDEN,
};