mirror of https://github.com/spf13/cobra.git
Remove trailing whitespace in rootcmd (#606)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
ccaecb155a
commit
b95ab734e2
|
@ -174,7 +174,7 @@ func Execute() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { {{if .viper}}
|
func init() { {{- if .viper}}
|
||||||
cobra.OnInitialize(initConfig)
|
cobra.OnInitialize(initConfig)
|
||||||
{{end}}
|
{{end}}
|
||||||
// Here you will define your flags and configuration settings.
|
// Here you will define your flags and configuration settings.
|
||||||
|
|
Loading…
Reference in New Issue