mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-15 02:17:43 +00:00
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.16.4 to 1.16.5. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v1.16.4...v1.16.5) --- updated-dependencies: - dependency-name: github.com/onsi/ginkgo dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
25 lines
454 B
Go
25 lines
454 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
"fmt"
|
|
|
|
"github.com/onsi/ginkgo/config"
|
|
)
|
|
|
|
func BuildVersionCommand() *Command {
|
|
return &Command{
|
|
Name: "version",
|
|
FlagSet: flag.NewFlagSet("version", flag.ExitOnError),
|
|
UsageCommand: "ginkgo version",
|
|
Usage: []string{
|
|
"Print Ginkgo's version",
|
|
},
|
|
Command: printVersion,
|
|
}
|
|
}
|
|
|
|
func printVersion([]string, []string) {
|
|
fmt.Printf("Ginkgo Version %s\n", config.VERSION)
|
|
emitRCAdvertisement()
|
|
}
|