diff --git a/degesch.c b/degesch.c index 294afab..01cc65f 100644 --- a/degesch.c +++ b/degesch.c @@ -4821,68 +4821,85 @@ handle_command_quote (struct app_context *ctx, char *arguments) static bool handle_command_help (struct app_context *, char *); +#define NOT_IMPLEMENTED(name) { #name, "(Not implemented)", NULL, NULL }, + static struct command_handler { const char *name; - bool (*handler) (struct app_context *ctx, char *arguments); const char *description; const char *usage; + bool (*handler) (struct app_context *ctx, char *arguments); } g_command_handlers[] = { - { "help", handle_command_help, "Show help", - "[ |