Skip to content

Commit

Permalink
Add documentation for the cache flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Nov 17, 2023
1 parent c3cdfce commit 887c984
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 887c984

Please sign in to comment.