summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/totalrecall/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go
index c0bd142..d719be5 100644
--- a/cmd/totalrecall/main.go
+++ b/cmd/totalrecall/main.go
@@ -27,6 +27,7 @@ func main() {
// Set the run function
rootCmd.RunE = func(cmd *cobra.Command, args []string) error {
+ cli.MarkExplicitFlagValues(cmd, flags)
return runCommand(cmd, args, flags)
}
@@ -60,8 +61,6 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error {
fmt.Printf("Note: Using image size 1024x1024 for DALL-E 3 (use --openai-image-size to override)\n")
}
- flags.ImageAPISpecified = cmd.Flags().Changed("image-api")
-
// Create processor
proc := processor.NewProcessor(flags)