fix(cmd/daemon): default settings

This commit is contained in:
2019-06-30 15:22:02 +02:00
parent 397f870435
commit d703d33e08
3 changed files with 4 additions and 4 deletions

View File

@ -43,5 +43,5 @@ func InitCmd(cmd *cobra.Command, cnfFile string) {
cmd.AddCommand(daemonCmd)
daemonCmd.Flags().BoolVar(&compression, "compression", true, "Compress measured values")
daemonCmd.Flags().StringVar(&cleanCacheInterval, "clean-cache-interval", "5m", "Minute intervall to clean cache and write measured values into logfile")
daemonCmd.Flags().Float64Var(&round, "round", 0.25, "Round values. The value 0 deactivates the function")
daemonCmd.Flags().Float64Var(&round, "round", 0.5, "Round values. The value 0 deactivates the function")
}