You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or similar units that create new containers in order to run the updated images.
21
22
Please refer to the podman-auto-update(1) man page for details.`
22
23
autoUpdateCommand=&cobra.Command{
23
-
Use: "auto-update [options]",
24
-
Short: "Auto update containers according to their auto-update policy",
25
-
Long: autoUpdateDescription,
26
-
RunE: autoUpdate,
24
+
Use: "auto-update [options]",
25
+
Short: "Auto update containers according to their auto-update policy",
26
+
Long: autoUpdateDescription,
27
+
RunE: autoUpdate,
28
+
ValidArgsFunction: completion.AutocompleteNone,
27
29
Example: `podman auto-update
28
30
podman auto-update --authfile ~/authfile.json`,
29
31
}
@@ -36,7 +38,10 @@ func init() {
36
38
})
37
39
38
40
flags:=autoUpdateCommand.Flags()
39
-
flags.StringVar(&autoUpdateOptions.Authfile, "authfile", auth.GetDefaultAuthFile(), "Path to the authentication file. Use REGISTRY_AUTH_FILE environment variable to override")
41
+
42
+
authfileFlagName:="authfile"
43
+
flags.StringVar(&autoUpdateOptions.Authfile, authfileFlagName, auth.GetDefaultAuthFile(), "Path to the authentication file. Use REGISTRY_AUTH_FILE environment variable to override")
0 commit comments