From e3d87442f7ad13f55016995c3ff41a1d93631ffb Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Wed, 8 May 2019 23:06:57 +0200 Subject: [PATCH] sw '-' ? --- kaleid/kernel/sh/shcmds.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kaleid/kernel/sh/shcmds.c b/kaleid/kernel/sh/shcmds.c index 4e6152a..095c2af 100644 --- a/kaleid/kernel/sh/shcmds.c +++ b/kaleid/kernel/sh/shcmds.c @@ -35,6 +35,13 @@ error_t CmdBeep(int argc, char **argv, char *cmdline) return EOK; } +error_t CmdStarWars(int argc, char **argv, char *cmdline) +{ + IoDoStarWars(); + + return EOK; +} + error_t CmdQuit(int argc, char **argv, char *cmdline) { PoShutdownQemu(); @@ -128,6 +135,7 @@ error_t CmdDie(int argc, char **argv, char *cmdline) Command_t cmdtable[] = { { "beep", CmdBeep, "Make a beep" }, + { "sw", CmdStarWars, "?"}, { "date", CmdDate, "Print date" }, { "die", CmdDie, "Die painfully" }, { "exit", CmdQuit, "Initiate shutdown" },