commit
644f85e695
|
@ -33,7 +33,7 @@ var generateDocs = &cobra.Command{
|
|||
Short: "Populates the specified folder with documentation in markdown about minikube",
|
||||
Long: "Populates the specified folder with documentation in markdown about minikube",
|
||||
Example: "minikube generate-docs --path <FOLDER_PATH>",
|
||||
Hidden: true,
|
||||
Hidden: true,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
// if directory does not exist
|
||||
|
|
|
@ -156,7 +156,7 @@ func applyStyle(style StyleEnum, useColor bool, format string) string {
|
|||
|
||||
func applyTemplateFormatting(style StyleEnum, useColor bool, format string, a ...V) string {
|
||||
if a == nil {
|
||||
a = []V{V{}}
|
||||
a = []V{{}}
|
||||
}
|
||||
format = applyStyle(style, useColor, format)
|
||||
|
||||
|
|
Loading…
Reference in New Issue