make parser slightly more user friendly (default to 'help')

This commit is contained in:
adam@algroup.co.uk 2010-02-04 22:51:02 +00:00
commit c37d2e7078
2 changed files with 4 additions and 3 deletions

View file

@ -20,7 +20,7 @@ static int CmdQuit(const char *Cmd);
static command_t CommandTable[] =
{
{"help", CmdHelp, 1, "This help"},
{"help", CmdHelp, 1, "This help. Use '<command> help' for details of the following commands:\n"},
{"data", CmdData, 1, "Plot window / data buffer manipulation"},
{"exit", CmdQuit, 1, "Exit program"},
{"hf", CmdHF, 1, "HF commands"},
@ -135,4 +135,4 @@ void UsbCommandReceived(UsbCommand *UC)
PrintAndLog("unrecognized command %08x\n", UC->cmd);
break;
}
}
}