diff --git a/server/server.go b/server/server.go index 56d5bdc26..11ce6e01a 100644 --- a/server/server.go +++ b/server/server.go @@ -50,9 +50,9 @@ type Server struct { ReportingDisabled bool `short:"r" long:"reporting-disabled" description:"Disable reporting of usage stats (os,arch,version,cluster_id,uptime) once every 24hr" env:"REPORTING_DISABLED"` LogLevel string `short:"l" long:"log-level" value-name:"choice" choice:"debug" choice:"info" choice:"warn" choice:"error" choice:"fatal" choice:"panic" default:"info" description:"Set the logging level" env:"LOG_LEVEL"` ShowVersion bool `short:"v" long:"version" description:"Show Chronograf version info"` + Basepath string `long:"basepath" description:"A URL path prefix under which all chronograf routes will be mounted"` BuildInfo BuildInfo Listener net.Listener - Basepath string `long:"basepath" description:"A URL path prefix under which all chronograf routes will be mounted" json:"basePath"` handler http.Handler }