Skip to content

Commit

Permalink
Merge pull request #57 from link-duan/feature/version
Browse files Browse the repository at this point in the history
feat: version sub command
  • Loading branch information
link-duan authored Feb 20, 2023
2 parents 6894a85 + 8137f64 commit 5fa52ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func showVersion() *cli.Command {
os.Exit(1)
return nil
}
fmt.Printf("%v\n", info.Main)
fmt.Printf("%s\n", info.Main.Version)
return nil
},
}
Expand Down

0 comments on commit 5fa52ef

Please sign in to comment.