Merge branch 'master' into file-logging-ocis-1666
This commit is contained in:
@@ -8,6 +8,12 @@ import (
|
||||
// RootWithConfig applies cfg to the root flagset
|
||||
func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "config-file",
|
||||
Usage: "Load config file from a non standard location.",
|
||||
EnvVars: []string{"OCIS_CONFIG_FILE"},
|
||||
Destination: &cfg.File,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "ocis-log-level",
|
||||
Value: "info",
|
||||
|
||||
Reference in New Issue
Block a user