summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-11-24 20:00:31 +0200
committerLinus Groh <mail@linusgroh.de>2021-11-24 18:05:24 +0000
commitc7d2df45b9dfe754eb9adfadbf42b24d48349a13 (patch)
tree75baf7f5b5546e5b63f5d7ffcb3c7a963fd2a22f
parentde69f5dbf40bf4d2480c750d65c11befe0cf8904 (diff)
downloadserenity-c7d2df45b9dfe754eb9adfadbf42b24d48349a13.zip
Base: Add missing js(1) command line options
-rw-r--r--Base/usr/share/man/man1/js.md4
1 files changed, 4 insertions, 0 deletions
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