From 3333f871a96a54877e2c8a65d2524277e3568ffd Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 22 Mar 2021 18:39:33 +0100 Subject: [PATCH] Fix supervisor option flags (#284) --- cmd/supervisor_options.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/supervisor_options.go b/cmd/supervisor_options.go index 4d09111d..f2462665 100644 --- a/cmd/supervisor_options.go +++ b/cmd/supervisor_options.go @@ -86,10 +86,10 @@ func init() { supervisorOptionsCmd.Flags().BoolP("diagnostics", "", false, "Enable diagnostics mode") supervisorOptionsCmd.Flags().StringArrayP("repositories", "r", []string{}, "repositories to track, can be supplied multiple times") - resolutionCheckOptionsCmd.Flags().Lookup("content-trust").NoOptDefVal = "true" - resolutionCheckOptionsCmd.Flags().Lookup("debug").NoOptDefVal = "false" - resolutionCheckOptionsCmd.Flags().Lookup("debug-block").NoOptDefVal = "false" - resolutionCheckOptionsCmd.Flags().Lookup("diagnostics").NoOptDefVal = "false" + supervisorOptionsCmd.Flags().Lookup("content-trust").NoOptDefVal = "true" + supervisorOptionsCmd.Flags().Lookup("debug").NoOptDefVal = "false" + supervisorOptionsCmd.Flags().Lookup("debug-block").NoOptDefVal = "false" + supervisorOptionsCmd.Flags().Lookup("diagnostics").NoOptDefVal = "false" supervisorCmd.AddCommand(supervisorOptionsCmd) }