|
@@ -635,6 +635,8 @@ func generateInteractive(cmd *cobra.Command, model string) error {
|
|
} else {
|
|
} else {
|
|
usage()
|
|
usage()
|
|
}
|
|
}
|
|
|
|
+ default:
|
|
|
|
+ fmt.Printf("Unknown command '/set %s'. Type /? for help\n", args[1])
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
usage()
|
|
usage()
|
|
@@ -659,7 +661,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
|
|
case "template":
|
|
case "template":
|
|
fmt.Println(resp.Template)
|
|
fmt.Println(resp.Template)
|
|
default:
|
|
default:
|
|
- fmt.Println("error: unknown command")
|
|
|
|
|
|
+ fmt.Printf("Unknown command '/show %s'. Type /? for help\n", args[1])
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
usage()
|
|
usage()
|