diff --git a/README.md b/README.md index 303faea..bf25333 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Available Commands: Flags: --colors Force output with colors --expiry Use cache expiry - --expiry-interval duration Port to run the webserver on (default 10m0s) + --expiry-interval duration Interval between cache GC's (default 10m0s) --expiry-memory int Max memory usage in MB (default 128) --expiry-shards int Cache shard count (default 64) --expiry-time duration Lifetime of a cache entry (default 1h0m0s) diff --git a/cmd/root.go b/cmd/root.go index 1d51e32..a9dff8a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -61,7 +61,7 @@ func init() { rootCmd.PersistentFlags().Bool("expiry", false, "Use cache expiry") rootCmd.PersistentFlags().Duration("expiry-time", time.Minute*60, "Lifetime of a cache entry") - rootCmd.PersistentFlags().Duration("expiry-interval", time.Minute*10, "Port to run the webserver on") + rootCmd.PersistentFlags().Duration("expiry-interval", time.Minute*10, "Interval between cache GC's") rootCmd.PersistentFlags().Int("expiry-memory", 128, "Max memory usage in MB") rootCmd.PersistentFlags().Int("expiry-shards", 64, "Cache shard count")