0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-10 03:30:40 +00:00

use BoolTFlag for purge flag

This commit is contained in:
Brad Rydzewski 2017-11-09 13:41:30 -08:00
parent 224a31a416
commit c2b4c08da4

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.Bool("purge"), Cleanup: c.BoolTFlag("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"),