0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-26 05:30:39 +00:00

use BoolTFlag for purge flag

This commit is contained in:
Brad Rydzewski 2017-11-09 13:43:00 -08:00
parent c2b4c08da4
commit 1fed2373e5

View File

@ -212,7 +212,7 @@ func main() {
func run(c *cli.Context) error { func run(c *cli.Context) error {
plugin := docker.Plugin{ plugin := docker.Plugin{
Dryrun: c.Bool("dry-run"), Dryrun: c.Bool("dry-run"),
Cleanup: c.BoolTFlag("docker.purge"), Cleanup: c.BoolT("docker.purge"),
Login: docker.Login{ Login: docker.Login{
Registry: c.String("docker.registry"), Registry: c.String("docker.registry"),
Username: c.String("docker.username"), Username: c.String("docker.username"),