Skip to content

Commit c0fd77d

Browse files
dhiemazdimas
andauthored
fixing flags usage text to first capital letter. (#1102)
Co-authored-by: dimas <[email protected]>
1 parent cb4e60c commit c0fd77d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

internal/flags/flags.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,31 @@ func RegisterSystemFlags(rootCmd *cobra.Command) {
3131
"interval",
3232
"i",
3333
viper.GetInt("WATCHTOWER_POLL_INTERVAL"),
34-
"poll interval (in seconds)")
34+
"Poll interval (in seconds)")
3535

3636
flags.StringP(
3737
"schedule",
3838
"s",
3939
viper.GetString("WATCHTOWER_SCHEDULE"),
40-
"the cron expression which defines when to update")
40+
"The cron expression which defines when to update")
4141

4242
flags.DurationP(
4343
"stop-timeout",
4444
"t",
4545
viper.GetDuration("WATCHTOWER_TIMEOUT"),
46-
"timeout before a container is forcefully stopped")
46+
"Timeout before a container is forcefully stopped")
4747

4848
flags.BoolP(
4949
"no-pull",
5050
"",
5151
viper.GetBool("WATCHTOWER_NO_PULL"),
52-
"do not pull any new images")
52+
"Do not pull any new images")
5353

5454
flags.BoolP(
5555
"no-restart",
5656
"",
5757
viper.GetBool("WATCHTOWER_NO_RESTART"),
58-
"do not restart any containers")
58+
"Do not restart any containers")
5959

6060
flags.BoolP(
6161
"no-startup-message",
@@ -67,31 +67,31 @@ func RegisterSystemFlags(rootCmd *cobra.Command) {
6767
"cleanup",
6868
"c",
6969
viper.GetBool("WATCHTOWER_CLEANUP"),
70-
"remove previously used images after updating")
70+
"Remove previously used images after updating")
7171

7272
flags.BoolP(
7373
"remove-volumes",
7474
"",
7575
viper.GetBool("WATCHTOWER_REMOVE_VOLUMES"),
76-
"remove attached volumes before updating")
76+
"Remove attached volumes before updating")
7777

7878
flags.BoolP(
7979
"label-enable",
8080
"e",
8181
viper.GetBool("WATCHTOWER_LABEL_ENABLE"),
82-
"watch containers where the com.centurylinklabs.watchtower.enable label is true")
82+
"Watch containers where the com.centurylinklabs.watchtower.enable label is true")
8383

8484
flags.BoolP(
8585
"debug",
8686
"d",
8787
viper.GetBool("WATCHTOWER_DEBUG"),
88-
"enable debug mode with verbose logging")
88+
"Enable debug mode with verbose logging")
8989

9090
flags.BoolP(
9191
"trace",
9292
"",
9393
viper.GetBool("WATCHTOWER_TRACE"),
94-
"enable trace mode with very verbose logging - caution, exposes credentials")
94+
"Enable trace mode with very verbose logging - caution, exposes credentials")
9595

9696
flags.BoolP(
9797
"monitor-only",
@@ -177,7 +177,7 @@ func RegisterNotificationFlags(rootCmd *cobra.Command) {
177177
"notifications",
178178
"n",
179179
viper.GetStringSlice("WATCHTOWER_NOTIFICATIONS"),
180-
" notification types to send (valid: email, slack, msteams, gotify, shoutrrr)")
180+
" Notification types to send (valid: email, slack, msteams, gotify, shoutrrr)")
181181

182182
flags.String(
183183
"notifications-level",

0 commit comments

Comments
 (0)