删除了exit这个默认命令
This commit is contained in:
parent
cb86bb245a
commit
ebd3fbf7ea
|
@ -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},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue