From 519a0c263f17586f99b6ec7db9162ad22e0c8dcc Mon Sep 17 00:00:00 2001 From: Iban Eguia Moraza Date: Sun, 9 Jul 2023 22:25:11 +0200 Subject: [PATCH 1/2] Add new CLI options to usage in README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9383345faa..586d6fd24d7 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,13 @@ Options: -a, --dump-ast [] Dump the AST to stdout with the given format [possible values: debug, json, json-pretty] -t, --trace Dump the AST to stdout with the given format --vi Use vi mode in the REPL - -O, --optimize - --optimizer-statistics + -O, --optimize + --optimizer-statistics --flowgraph [] Generate instruction flowgraph. Default is Graphviz [possible values: graphviz, mermaid] --flowgraph-direction Specifies the direction of the flowgraph. Default is top-top-bottom [possible values: top-to-bottom, bottom-to-top, left-to-right, right-to-left] --debug-object Inject debugging object `$boa` + -m, --module Treats the input files as modules + -r, --root Root path from where the module resolver will try to load the modules [default: .] -h, --help Print help (see more with '--help') -V, --version Print version ``` From 446b21c261b56a2dee1cc396fa13d48ea0d2864f Mon Sep 17 00:00:00 2001 From: Iban Eguia Moraza Date: Sun, 9 Jul 2023 22:28:08 +0200 Subject: [PATCH 2/2] Removed extra spaces --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 586d6fd24d7..e75e9248657 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,8 @@ Options: -a, --dump-ast [] Dump the AST to stdout with the given format [possible values: debug, json, json-pretty] -t, --trace Dump the AST to stdout with the given format --vi Use vi mode in the REPL - -O, --optimize - --optimizer-statistics + -O, --optimize + --optimizer-statistics --flowgraph [] Generate instruction flowgraph. Default is Graphviz [possible values: graphviz, mermaid] --flowgraph-direction Specifies the direction of the flowgraph. Default is top-top-bottom [possible values: top-to-bottom, bottom-to-top, left-to-right, right-to-left] --debug-object Inject debugging object `$boa`