summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-07 22:29:23 +0300
committerPaul Buetow <paul@buetow.org>2026-04-07 22:29:23 +0300
commitf9c7585730d2d119939a6e1e503684ca6ff2e086 (patch)
tree92f5b3aa920e2b996bd51bf0044cf33922c0b08b /cmd
parente0919c1dcdc28603c19cb9255c4f6d28c5ae401a (diff)
cleanup
Diffstat (limited to 'cmd')
-rw-r--r--cmd/totalrecall/main.go17
1 files changed, 11 insertions, 6 deletions
diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go
index c991378..a0444b2 100644
--- a/cmd/totalrecall/main.go
+++ b/cmd/totalrecall/main.go
@@ -113,7 +113,7 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error {
OutputDir: ".",
Style: flags.StoryStyle,
Theme: flags.StoryTheme,
- UltraRealistic: storyUltraRealistic(flags.StoryNoUltraRealistic),
+ UltraRealistic: storyUltraRealistic(flags.StoryNoUltraRealistic, flags.StoryUltraRealistic),
NarratorVoice: flags.NarratorVoice,
NarrateEnabled: flags.NarrateEnabled,
Slug: flags.StorySlug,
@@ -221,11 +221,16 @@ func runStoryVideos(flags *cli.Flags) error {
return nil
}
-// storyUltraRealistic converts the --no-ultra-realistic bool flag into a *bool
-// for RunnerConfig. When noUltraRealistic is true, returns a pointer to false
-// (forcing standard comic style). When false (flag not set), returns nil so
-// the runner picks randomly 50/50 each run.
-func storyUltraRealistic(noUltraRealistic bool) *bool {
+// storyUltraRealistic converts the --ultra-realistic / --no-ultra-realistic
+// bool flags into a *bool for RunnerConfig.
+// - --ultra-realistic → pointer to true (force photorealistic panels)
+// - --no-ultra-realistic → pointer to false (force standard comic style)
+// - neither flag set → nil (runner picks randomly 50/50 each run)
+func storyUltraRealistic(noUltraRealistic, ultraRealistic bool) *bool {
+ if ultraRealistic {
+ v := true
+ return &v
+ }
if noUltraRealistic {
v := false
return &v