From 205b1766b4cc861a8f9a91b2699919af2ee1aeaa Mon Sep 17 00:00:00 2001 From: Maximilian Brandau Date: Thu, 26 Mar 2020 16:58:57 +0100 Subject: [PATCH] fix #472 --- cmd/root.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index ee64e56..cf2d5c6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -113,7 +113,9 @@ func Run(c *cobra.Command, names []string) { runOnce, _ := c.PersistentFlags().GetBool("run-once") if runOnce { - log.Info("Running a one time update.") + if noStartupMessage, _ := c.PersistentFlags().GetBool("no-startup-message"); !noStartupMessage { + log.Info("Running a one time update.") + } runUpdatesWithNotifications(filter) os.Exit(0) return