删除了exit这个默认命令

This commit is contained in:
hqm 2021-09-18 00:12:40 +08:00
parent cb86bb245a
commit ebd3fbf7ea
1 changed files with 0 additions and 6 deletions

View File

@ -25,11 +25,6 @@ static void cmd_help(int argc, char* argv[])
}
}
static void cmd_exit(int argc, char* argv[])
{
exit(0);
}
static void cmd_logo(int argc, char* argv[])
{
char *log = "\
@ -44,7 +39,6 @@ static xcmd_t cmds[] =
{
{"clear", cmd_clear, "clear screen", NULL},
{"help", cmd_help, "show this list", NULL},
{"exit", cmd_exit, "exit xcmder", NULL},
{"logo", cmd_logo, "show logo", NULL},
};