add heap size and 'expert' flags to help text (#908)

This commit is contained in:
Bob 2021-06-30 12:21:35 -04:00 committed by GitHub
parent 42dffdad84
commit 47bcb4be5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@ 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:
@ -126,6 +127,7 @@ 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: