Skip to content

Commit

Permalink
Fix supervisor option flags (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Mar 22, 2021
1 parent 981820b commit 3333f87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/supervisor_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 3333f87

Please sign in to comment.