diff options
Diffstat (limited to 'src/init/shell.c')
-rw-r--r-- | src/init/shell.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/init/shell.c b/src/init/shell.c index 12382e0..a43bd20 100644 --- a/src/init/shell.c +++ b/src/init/shell.c @@ -53,6 +53,10 @@ void shell_loop(void) { printf(PROMPT); readline(cmd, 256); args = split(cmd); - printf(" %s | %s\n", cmd, args); + if (!strcmp(cmd, "echo")) { + printf("%s\n", args); + } else { + printf("unknown command :(\n"); + } } } |