From 76ef8770cd983e7ece581fbcfb3a7ad5e115aae5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 13 Nov 2009 19:53:28 +0000 Subject: Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags. --- cmd-list-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-list-commands.c') diff --git a/cmd-list-commands.c b/cmd-list-commands.c index 9f2942ae..9b669b67 100644 --- a/cmd-list-commands.c +++ b/cmd-list-commands.c @@ -29,7 +29,7 @@ int cmd_list_commands_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_list_commands_entry = { "list-commands", "lscm", "", - 0, 0, + 0, "", NULL, NULL, cmd_list_commands_exec, -- cgit