minor help edit [skip ci]
This commit is contained in:
parent
3cf3a83c49
commit
1efed2c3c7
1 changed files with 8 additions and 5 deletions
|
|
@ -111,15 +111,19 @@
|
||||||
(defn print-help [_ctx _command-line-args]
|
(defn print-help [_ctx _command-line-args]
|
||||||
(println (str "Babashka v" version))
|
(println (str "Babashka v" version))
|
||||||
(println "
|
(println "
|
||||||
Usage: bb [global-opts] [eval opts] [cmdline args]
|
Usage: bb [svm-opts] [global-opts] [eval opts] [cmdline args]
|
||||||
or: bb [global-opts] file [cmdline args]
|
or: bb [svm-opts] [global-opts] file [cmdline args]
|
||||||
or: bb [global-opts] subcommand [subcommand opts] [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:
|
Global opts:
|
||||||
|
|
||||||
-cp, --classpath Classpath to use. Overrides bb.edn classpath.
|
-cp, --classpath Classpath to use. Overrides bb.edn classpath.
|
||||||
--debug Print debug information and internal stacktrace in case of exception.
|
--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:
|
Help:
|
||||||
|
|
||||||
|
|
@ -127,7 +131,6 @@ Help:
|
||||||
version Print the current version of babashka.
|
version Print the current version of babashka.
|
||||||
describe Print an EDN map with information about this 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.
|
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:
|
Evaluation:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue