vxBoot/src/builtin/help.c
Yann MAGNIN 7993f4b88f vxBoot (0.0.1) - First commit
@add
<> terminal device
<> builtin - ls (file listing), help (some information message))
<> smemfs - SMEM file system abstraction
<> small CLI to interact with the core
2021-09-25 16:02:50 +02:00

22 lines
531 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"
" os - allows you to interact with the bootstraper\n"
);
return (0);
}