memory-footprint: --version option not supported
- Dominant language
- Kotlin
- Stars
- 71
- Forks
- 10
- Avg merge
- 4h 14m
- Merged PRs (30d)
- 1
Description
`--version` is supposed to "Show the script's version and quit." However, supplying it appears to do nothing:
```sh
$ 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 ]
[--ambient-limit-mb ] [--apply-v1-offload-limitations]
[--disable-ambient-deduplication] [--disable-old-style-clocks]
[--estimate-optimization] [--greedy-after-iterations ]
[--report] --schema-version [--verbose] [--version]
--watch-face
--active-limit-mb Limit in MB for the active mode.
Optional.
--ambient-limit-mb 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 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 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 Path to the watch face package to be
evaluated. Required.
```
Contributor guide
Assessment
This issue has not been assessed yet.