main: fix errors show

parent ef91ff59
......@@ -11,6 +11,7 @@ import (
"ximperconf/system"
"ximperconf/ui"
"github.com/fatih/color"
"github.com/urfave/cli/v3"
)
......@@ -45,6 +46,7 @@ func main() {
applyCommandSetting(rootCommand)
if err := rootCommand.Run(context.Background(), os.Args); err != nil {
color.Red(err.Error())
os.Exit(1)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment