diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 1e9799c1..b6fcdb11 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -111,15 +111,19 @@ (defn print-help [_ctx _command-line-args] (println (str "Babashka v" version)) (println " -Usage: bb [global-opts] [eval opts] [cmdline args] -or: bb [global-opts] file [cmdline args] -or: bb [global-opts] subcommand [subcommand opts] [cmdline args] +Usage: bb [svm-opts] [global-opts] [eval opts] [cmdline args] +or: bb [svm-opts] [global-opts] file [cmdline args] +or: bb [svm-opts] [global-opts] subcommand [subcommand opts] [cmdline args] + +Substrate VM opts: + + -Xmx[g|G|m|M|k|K] Set a maximum heap size (e.g. -Xmx256M to limit the heap to 256MB). + -XX:PrintFlags= Print all Substrate VM options. Global opts: -cp, --classpath Classpath to use. Overrides bb.edn classpath. --debug Print debug information and internal stacktrace in case of exception. - -Xmx[g|G|m|M|k|K] Set a maximum heap size (e.g. -Xmx256M to limit the heap to 256MB). Help: @@ -127,7 +131,6 @@ Help: version Print the current version of babashka. describe Print an EDN map with information about this version of babashka. doc Print docstring of var or namespace. Requires namespace if necessary. - -XX:PrintFlags= Print help text for \"expert\" runtime options (GC/safepoint options). Evaluation: