vxBoot/src/builtin/help.c

24 lines
638 B
C

#include "vxBoot/builtin.h"
#include "vxBoot/terminal.h"
int help_main(int argc, char **argv)
{
//TODO : use arguments ?
(void)argc;
(void)argv;
terminal_write(
"VxBoot was created by Yatis for the sole purpose of being able to load Vhex -"
" an experimental operating system touching many sensitive things on the "
"machine.\n"
"\n"
"The available commands are:\n"
" help - display this help message\n"
" ls - list files in storage memory\n"
" ld - allows you to load the kernel in the physical memory\n"
" hw - display hardware information\n"
" log - allows you to manage the log level\n"
);
return (0);
}