The -D command line option is useful, but seems to be undocumented as a Babashka option. My guess is that it is a common option for programs compiled with GraalVM Native Image, but how is the casual Babashka user supposed to know that? Besides, there's much documentation for the Native Image compiler, but where are the options for programs compiled by Native Image defined?
I know that bb help displays some "Substrate VM opts", but -D isn't included. Are there any other "hidden" options that would be worth documenting?
This could be added under:
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.Agreed. Any other that should be documented?
Probably that's the main one
Worth a GitHub Issue?