Merge pull request #1710 from AkihiroSuda/print-revision

containerd --version: print version.Revision
This commit is contained in:
Kenfe-Mickaël Laventure
2017-11-02 07:56:41 -07:00
committed by GitHub

View File

@@ -39,7 +39,7 @@ func init() {
grpclog.SetLogger(golog.New(ioutil.Discard, "", golog.LstdFlags))
cli.VersionPrinter = func(c *cli.Context) {
fmt.Println(c.App.Name, version.Package, c.App.Version)
fmt.Println(c.App.Name, version.Package, c.App.Version, version.Revision)
}
}