This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch 797-document-cache in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit dd3e6b8196d747fb58eb6ef7f00d405285d2c508 Author: Bertil Chapuis <[email protected]> AuthorDate: Fri Nov 17 11:35:56 2023 +0100 Add documentation for the cache flag --- baremaps-cli/src/main/java/org/apache/baremaps/cli/map/Serve.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/baremaps-cli/src/main/java/org/apache/baremaps/cli/map/Serve.java b/baremaps-cli/src/main/java/org/apache/baremaps/cli/map/Serve.java index 5fb03f5f..cb604029 100644 --- a/baremaps-cli/src/main/java/org/apache/baremaps/cli/map/Serve.java +++ b/baremaps-cli/src/main/java/org/apache/baremaps/cli/map/Serve.java @@ -54,7 +54,10 @@ public class Serve implements Callable<Integer> { @Mixin private Options options; - @Option(names = {"--cache"}, paramLabel = "CACHE", description = "The caffeine cache directive.") + @Option(names = {"--cache"}, paramLabel = "CACHE", description = { + "The caffeine specification of the cache.", + "For instance, 'maximumWeight=1073741824,expireAfterAccess=1h'", + "sets a 1GB cache whose entries expires after one hour."}) private String cache = ""; @Option(names = {"--tileset"}, paramLabel = "TILESET", description = "The tileset file.",
