From 4d0d275ce4e4e5dca6b77a7f590f4180c10d6242 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 20 Dec 2006 00:27:11 +0000 Subject: Functionality now replaced by a combination of readline() and system(). --- src/commandline/commands/help.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/commandline/commands/help.c (limited to 'src/commandline/commands/help.c') diff --git a/src/commandline/commands/help.c b/src/commandline/commands/help.c deleted file mode 100644 index 758c3c1e8..000000000 --- a/src/commandline/commands/help.c +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include -#include - -static struct command cmd_start[0] __table_start ( commands ); -static struct command cmd_end[0] __table_end ( commands ); - -void help_req(){} - -static int cmd_help_exec ( int argc, char **argv ) { - - struct command *ccmd; - - printf("Available commands:\n\n"); - - for ( ccmd = cmd_start ; ccmd < cmd_end ; ccmd++ ) { - printf (" %s\n", ccmd->name ); - } - - return 0; -} - -struct command help_command __command = { - .name = "help", - .exec = cmd_help_exec, -}; - - -- cgit v1.2.3-55-g7522