minor help edit [skip ci]

This commit is contained in:
Michiel Borkent 2021-07-04 20:41:09 +02:00
parent 3cf3a83c49
commit 1efed2c3c7

View file

@ -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<size>[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<size>[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 <var|ns> Print docstring of var or namespace. Requires namespace if necessary.
-XX:PrintFlags= Print help text for \"expert\" runtime options (GC/safepoint options).
Evaluation: