Skip to content

Commit 5fa52ef

Browse files
authored
Merge pull request #57 from link-duan/feature/version
feat: version sub command
2 parents 6894a85 + 8137f64 commit 5fa52ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func showVersion() *cli.Command {
250250
os.Exit(1)
251251
return nil
252252
}
253-
fmt.Printf("%v\n", info.Main)
253+
fmt.Printf("%s\n", info.Main.Version)
254254
return nil
255255
},
256256
}

0 commit comments

Comments
 (0)