summaryrefslogtreecommitdiffstats
path: root/src/commandline/commands/help.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-08 02:40:06 +0100
committerMichael Brown2006-12-08 02:40:06 +0100
commitcc697eeb1f4a4fbd98cb86053c66932cd6095263 (patch)
treeea6a3ce3968d5f018b828223fe9952e0b8d9668d /src/commandline/commands/help.c
parentcmdlinelib.c now calls system() rather than doing its own tokenisation (diff)
downloadipxe-cc697eeb1f4a4fbd98cb86053c66932cd6095263.tar.gz
ipxe-cc697eeb1f4a4fbd98cb86053c66932cd6095263.tar.xz
ipxe-cc697eeb1f4a4fbd98cb86053c66932cd6095263.zip
Added "exit" back in as a standardised command.
Diffstat (limited to 'src/commandline/commands/help.c')
-rw-r--r--src/commandline/commands/help.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commandline/commands/help.c b/src/commandline/commands/help.c
index 3074f18d0..758c3c1e8 100644
--- a/src/commandline/commands/help.c
+++ b/src/commandline/commands/help.c
@@ -11,10 +11,8 @@ void help_req(){}
static int cmd_help_exec ( int argc, char **argv ) {
struct command *ccmd;
- int unknown = 1;
-
- printf("Available commands:\n\n exit - Exit the command line and boot\n");
+ printf("Available commands:\n\n");
for ( ccmd = cmd_start ; ccmd < cmd_end ; ccmd++ ) {
printf (" %s\n", ccmd->name );