--version is supposed to "Show the script's version and quit." However, supplying it appears to do nothing:
$ java -jar ./memory-footprint/build/libs/memory-footprint.jar --version
Error: Missing required options: watch-face, schema-version
usage: java -jar memory-footprint.jar [--active-limit-mb <arg>]
[--ambient-limit-mb <arg>] [--apply-v1-offload-limitations]
[--disable-ambient-deduplication] [--disable-old-style-clocks]
[--estimate-optimization] [--greedy-after-iterations <arg>]
[--report] --schema-version <arg> [--verbose] [--version]
--watch-face <arg>
--active-limit-mb <arg> Limit in MB for the active mode.
Optional.
--ambient-limit-mb <arg> Limit in MB for the ambient mode.
Optional.
--apply-v1-offload-limitations Whether or not V1 offloading
limitations should be applied to the
calculation. I.e. a maximum of 2
layers and two clocks.
--disable-ambient-deduplication Whether or not in ambient we should
de-duplicate resources.
--disable-old-style-clocks Whether or not old style analog or
digital clocks should be, disabled
defaults to false.
--estimate-optimization Assume DWF optimizations.
--greedy-after-iterations <arg> If the watch face has more than this
number of configurations, then the
evaluation runs in greedy mode.
Optional. Defaults to 10000000
--report Generate a JSON report instead of
validating the watch face against
the memory limits.
--schema-version <arg> Watch Face Format schema version of
the watch face. Required.
--verbose Turn on verbose mode. Optional.
--version Show the script's version and quit.
--watch-face <arg> Path to the watch face package to be
evaluated. Required.
--version
is supposed to "Show the script's version and quit." However, supplying it appears to do nothing: