mirror of
https://github.com/containrrr/watchtower.git
synced 2026-03-16 01:06:31 +01:00
feature/112: implement include-stopped
This commit is contained in:
parent
3c2e184823
commit
1cfa453f40
6 changed files with 79 additions and 23 deletions
10
app/app.go
10
app/app.go
|
|
@ -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",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue