From c7d2df45b9dfe754eb9adfadbf42b24d48349a13 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Wed, 24 Nov 2021 20:00:31 +0200 Subject: [PATCH] Base: Add missing js(1) command line options --- Base/usr/share/man/man1/js.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Base/usr/share/man/man1/js.md b/Base/usr/share/man/man1/js.md index 1f3f56b289..4aaab8236e 100644 --- a/Base/usr/share/man/man1/js.md +++ b/Base/usr/share/man/man1/js.md @@ -22,6 +22,10 @@ Run `help()` in REPL mode to see its available built-in functions. ## Options * `-A`, `--dump-ast`: Dump the Abstract Syntax Tree after parsing the program. +* `-d`, `--dump-bytecode`: Dump the bytecode +* `-b`, `--run-bytecode`: Run the bytecode +* `-p`, `--optimize-bytecode`: Optimize the bytecode +* `-m`, `--as-module`: Treat as module * `-l`, `--print-last-result`: Print the result of the last statement executed. * `-g`, `--gc-on-every-allocation`: Run garbage collection on every allocation. * `-s`, `--no-syntax-highlight`: Disable live syntax highlighting in the REPL