From de20d7430df08731d9108acb83e1234ba7f1fe16 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 19 Sep 2020 14:53:29 -0400 Subject: file manager --- src/user/highway/line.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/user/highway/line.c') diff --git a/src/user/highway/line.c b/src/user/highway/line.c index ca38c9b..40dccfa 100644 --- a/src/user/highway/line.c +++ b/src/user/highway/line.c @@ -1,5 +1,5 @@ +#include #include -#include #include #include #include "cmds.h" @@ -68,7 +68,7 @@ void run_line(const char *original_line) { else if (blockequ(line, "vars", space - line)) dump_vars(); else if (blockequ(line, "quit", space - line)) - quit(space + 1); + __pcrt_quit(); else if (blockequ(line, "help", space - line)) tell_user_sz("Highway is a command shell for Portland OS. It includes variables and a couple\n" "of pseudo-commands. Variables are addressed by surrounding with \"$\". The\n" @@ -78,7 +78,7 @@ void run_line(const char *original_line) { " echo STRING print STRING\n" " vars dump variables\n" " quit exit highway\n" - " help show this\n\n"); + " help show this\n"); else if (!try_run_command_blocking(line)) { struct no_null_sn arg = { .data = "_path", -- cgit v1.2.3