feature/112: implement include-stopped

This commit is contained in:
Simon Aronsson 2019-04-28 15:40:31 +02:00
parent 3c2e184823
commit 1cfa453f40
6 changed files with 79 additions and 23 deletions

View file

@ -155,8 +155,14 @@ func SetupCliFlags(app *cli.App) {
EnvVar: "WATCHTOWER_MONITOR_ONLY",
},
cli.BoolFlag{
Name: "run-once",
Usage: "Run once now and exit",
Name: "run-once",
Usage: "Run once now and exit",
EnvVar: "WATCHTOWER_RUN_ONCE",
},
cli.BoolFlag{
Name: "include-stopped",
Usage: "Will also include stopped or exited containers",
EnvVar: "WATCHTOWER_INCLUDE_STOPPED",
},
}
}