mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Output VCSRevision with --version
This commit is contained in:
@@ -329,7 +329,7 @@ func show_usage(cmd *cobra.Command) error {
|
||||
if cmd.Annotations["usage-suffix"] != "" {
|
||||
fmt.Fprintln(&output, cmd.Annotations["usage-suffix"])
|
||||
} else {
|
||||
fmt.Fprintln(&output, italic_fmt(RootCmd.Name()), opt_fmt(RootCmd.Version), "created by", title_fmt("Kovid Goyal"))
|
||||
fmt.Fprintln(&output, italic_fmt(RootCmd.Name()), opt_fmt(kitty.VersionString), "created by", title_fmt("Kovid Goyal"))
|
||||
}
|
||||
output_text := output.String()
|
||||
// fmt.Printf("%#v\n", output_text)
|
||||
|
||||
Reference in New Issue
Block a user