updated cli usage message
This commit is contained in:
+2
-8
@@ -11,17 +11,11 @@
|
|||||||
#include "builtins/basic.h"
|
#include "builtins/basic.h"
|
||||||
|
|
||||||
static const char usage[] =
|
static const char usage[] =
|
||||||
"Usage:\n"
|
"Usage patterns:\n"
|
||||||
" $ noja [ <file> | -f <file> | -c <code> | -h ]\n"
|
|
||||||
"\n"
|
|
||||||
"For example:\n"
|
|
||||||
" $ noja run file.noja\n"
|
" $ noja run file.noja\n"
|
||||||
" $ noja run inline \"print('some noja code');\"\n"
|
" $ noja run inline \"print('some noja code');\"\n"
|
||||||
" $ noja dis file.noja\n"
|
" $ noja dis file.noja\n"
|
||||||
" $ noja dis inline \"print('some noja code');\""
|
" $ noja dis inline \"print('some noja code');\"\n";
|
||||||
"\n"
|
|
||||||
"NOTE: When a line starts with $ it means that it's a terminal command.\n";
|
|
||||||
|
|
||||||
static _Bool interpret_file(const char *file);
|
static _Bool interpret_file(const char *file);
|
||||||
static _Bool interpret_code(const char *code);
|
static _Bool interpret_code(const char *code);
|
||||||
static _Bool disassemble_file(const char *file);
|
static _Bool disassemble_file(const char *file);
|
||||||
|
|||||||
Reference in New Issue
Block a user