func usage(fs *flag.FlagSet) {
	envVars := []string{
		environmentVariableHTTPPort,
		environmentVariableHTTPSPort,
		environmentVariableDatabaseURL,
		environmentVariableDebugGame,
		environmentVariableNoTLSRedirect,
		environmentVariableCacheSec,
		environmentVariableChallengeToken,
		environmentVariableChallengeKey,
	}
	fmt.Fprintf(fs.Output(), "Runs the server\n")
	fmt.Fprintf(fs.Output(), "Reads environment variables when possible: [%s]\n", strings.Join(envVars, ","))
	fmt.Fprintf(fs.Output(), "Usage of %s:\n", fs.Name())
	fs.PrintDefaults()
}
// usage prints how to run the server to the flagset's output.
usage prints how to run the server to the flagset's output.
// usage prints how to run the server to the flagset ' s output .
func usage(fs *flag.FlagSet) {
	envVars := []string{
		environmentVariableHTTPPort,
		environmentVariableHTTPSPort,
		environmentVariableDatabaseURL,
		environmentVariableDebugGame,
		environmentVariableNoTLSRedirect,
		environmentVariableCacheSec,
		environmentVariableChallengeToken,
		environmentVariableChallengeKey,
	}
	fmt.Fprintf(fs.Output(), "Runs the server\n")
	fmt.Fprintf(fs.Output(), "Reads environment variables when possible: [%s]\n", strings.Join(envVars, ","))
	fmt.Fprintf(fs.Output(), "Usage of %s:\n", fs.Name())
	fs.PrintDefaults()
}
func usage ( fs * flag . FlagSet ) { envVars := [ ] string { environmentVariableHTTPPort , environmentVariableHTTPSPort , environmentVariableDatabaseURL , environmentVariableDebugGame , environmentVariableNoTLSRedirect , environmentVariableCacheSec , environmentVariableChallengeToken , environmentVariableChallengeKey , } fmt . Fprintf ( fs . Output ( ) , " \n " ) fmt . Fprintf ( fs . Output ( ) , " \n " , strings . Join ( envVars , " " ) ) fmt . Fprintf ( fs . Output ( ) , " \n " , fs . Name ( ) ) fs . PrintDefaults ( ) }
usage prints how to run the server to the flagset's output.
usage prints how to run the server to the flagset ' s output .