mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
add --no-startup-message flag
This commit is contained in:
parent
b051327f1b
commit
fc3decce3a
3 changed files with 14 additions and 4 deletions
|
@ -123,6 +123,12 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
|
|||
viper.GetString("WATCHTOWER_NOTIFICATIONS_LEVEL"),
|
||||
"The log level used for sending notifications. Possible values: panic, fatal, error, warn, info or debug")
|
||||
|
||||
flags.BoolP(
|
||||
"no-startup-message",
|
||||
"",
|
||||
viper.GetBool("WATCHTOWER_NOTIFICATION_NO_STARTUP_MESSAGE"),
|
||||
"Prevents watchtower from sending a startup message")
|
||||
|
||||
flags.StringP(
|
||||
"notification-email-from",
|
||||
"",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue