mirror of
https://github.com/restic/rest-server.git
synced 2026-04-10 12:12:21 -07:00
Fix case
This commit is contained in:
@@ -44,7 +44,7 @@ Usage:
|
|||||||
rest-server [flags]
|
rest-server [flags]
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
--append-only Enable append only mode
|
--append-only enable append only mode
|
||||||
--cpuprofile string write CPU profile to file
|
--cpuprofile string write CPU profile to file
|
||||||
--debug output debug messages
|
--debug output debug messages
|
||||||
-h, --help help for rest-server
|
-h, --help help for rest-server
|
||||||
|
|||||||
@@ -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.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.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.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"
|
var version = "manually"
|
||||||
|
|||||||
Reference in New Issue
Block a user