mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-25 19:14:50 -08:00
fix(cli): print error message only once
This commit is contained in:
parent
07906b6a27
commit
217b3c73c4
|
@ -38,7 +38,6 @@ on getting started, have a look at the docs at https://ohmyposh.dev`,
|
|||
func Execute(version string) {
|
||||
cliVersion = version
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue