diff options
-rw-r--r-- | Userland/Utilities/js.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp index 8f290ae7ac..6ee9e271dc 100644 --- a/Userland/Utilities/js.cpp +++ b/Userland/Utilities/js.cpp @@ -1338,6 +1338,9 @@ JS_DEFINE_NATIVE_FUNCTION(ReplObject::repl_help) js_outln("REPL commands:"); js_outln(" exit(code): exit the REPL with specified code. Defaults to 0."); js_outln(" help(): display this menu"); + js_outln(" loadINI(file): load the given file as INI."); + js_outln(" loadJSON(file): load the given file as JSON."); + js_outln(" print(value): pretty-print the given JS value."); js_outln(" save(file): write REPL input history to the given file. For example: save(\"foo.txt\")"); return JS::js_undefined(); } |