0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 10:10:39 +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 {
plugin := docker.Plugin{
Dryrun: c.Bool("dry-run"),
Cleanup: c.Bool("purge"),
Cleanup: c.BoolTFlag("docker.purge"),
Login: docker.Login{
Registry: c.String("docker.registry"),
Username: c.String("docker.username"),