From: Erik M. <er...@us...> - 2001-10-07 22:36:14
|
Update of /cvsroot/blob/blob/src/diag In directory usw-pr-cvs1:/tmp/cvs-serv32181/src/diag Modified Files: commands.c Log Message: - Move the reboot command to the library - Put command help into terminal.c and reboot.c Index: commands.c =================================================================== RCS file: /cvsroot/blob/blob/src/diag/commands.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- commands.c 2001/10/07 22:09:54 1.1 +++ commands.c 2001/10/07 22:36:11 1.2 @@ -29,12 +29,11 @@ #include <blob/command.h> +#include <blob/reboot.h> #include <blob/terminal.h> -static char resethelp[] = "reset\n" -"Reset terminal\n"; - __commandlist(reset_terminal, "reset", resethelp); +__commandlist(reboot, "reboot", reboothelp); |