mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
Merge c69668f9ae
into 99ff9334bd
This commit is contained in:
commit
fe53af7f71
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ func init() {
|
|||
viper.SetDefault("license", "apache")
|
||||
}
|
||||
|
||||
func main() {
|
||||
func initConfig() {
|
||||
// Don't forget to read config either from cfgFile or from home directory!
|
||||
if cfgFile != "" {
|
||||
// Use config file from the flag.
|
||||
|
|
Loading…
Add table
Reference in a new issue