From 195cc01929cf70dfb1ed9697d8bda5f95d536855 Mon Sep 17 00:00:00 2001 From: Francesco Cozzuto Date: Thu, 10 Mar 2022 20:27:44 +0100 Subject: [PATCH] updated cli usage message --- src/noja.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/noja.c b/src/noja.c index 50c63e2..c050e5e 100644 --- a/src/noja.c +++ b/src/noja.c @@ -11,17 +11,11 @@ #include "builtins/basic.h" static const char usage[] = - "Usage:\n" - " $ noja [ | -f | -c | -h ]\n" - "\n" - "For example:\n" + "Usage patterns:\n" " $ noja run file.noja\n" " $ noja run inline \"print('some noja code');\"\n" " $ noja dis file.noja\n" - " $ noja dis inline \"print('some noja code');\"" - "\n" - "NOTE: When a line starts with $ it means that it's a terminal command.\n"; - + " $ noja dis inline \"print('some noja code');\"\n"; static _Bool interpret_file(const char *file); static _Bool interpret_code(const char *code); static _Bool disassemble_file(const char *file);