kittens: Fix errors not being reported to user when run a UI kitten

Fixes #6403
This commit is contained in:
Kovid Goyal
2023-06-29 07:36:24 +05:30
parent e81a40255b
commit ab10070ee8
3 changed files with 25 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ var _ = fmt.Print
func KittyToolEntryPoints(root *cli.Command) {
root.Add(cli.OptionSpec{
Name: "--version", Type: "bool-set", Help: "The current kitten version."})
tui.PrepareRootCmd(root)
// @
at.EntryPoint(root)
// update-self