Skip to content

Commit

Permalink
Fix flag description
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Nov 8, 2020
1 parent 01644a7 commit 56ff5ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 56ff5ab

Please sign in to comment.