This commit is contained in:
Zlatko Čalušić
2017-10-04 22:07:06 +02:00
parent ac7c83fa47
commit d5bbf6aac8
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ Usage:
rest-server [flags]
Flags:
--append-only Enable append only mode
--append-only enable append only mode
--cpuprofile string write CPU profile to file
--debug output debug messages
-h, --help help for rest-server

View File

@@ -29,7 +29,7 @@ func init() {
flags.StringVar(&restserver.Config.Log, "log", restserver.Config.Log, "log HTTP requests in the combined log format")
flags.StringVar(&restserver.Config.Path, "path", restserver.Config.Path, "data directory")
flags.BoolVar(&restserver.Config.TLS, "tls", restserver.Config.TLS, "turn on TLS support")
flags.BoolVar(&restserver.Config.AppendOnly, "append-only", restserver.Config.AppendOnly, "Enable append only mode")
flags.BoolVar(&restserver.Config.AppendOnly, "append-only", restserver.Config.AppendOnly, "enable append only mode")
}
var version = "manually"