summaryrefslogtreecommitdiffstats
path: root/src/commandline/commands/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandline/commands/help.c')
-rw-r--r--src/commandline/commands/help.c29
1 files changed, 0 insertions, 29 deletions
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 <string.h>
-#include <vsprintf.h>
-#include <gpxe/tables.h>
-#include <gpxe/command.h>
-
-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,
-};
-
-