Skip to content

Conversation

fkleon
Copy link
Contributor

@fkleon fkleon commented Oct 20, 2025

Fixes the preview options parsing based on latest code on leejet/stable-diffusion.cpp#522

The joys of living on the bleeding edge!

- only match option followed by space, to avoid accidentally matching options
  containing a keyword, such as `--preview-path`.

- only match option at start of line, to avoid matching keywords within
  help text of other options, for example:

>   --taesd-preview-only  prevents usage of taesd for decoding the final image.
> (for use with --preview tae)
@daniandtheweb
Copy link
Owner

I haven't tested that branch for a while so I forgot to check for it. Thanks for the fix.

@daniandtheweb daniandtheweb merged commit 60873fd into daniandtheweb:master Oct 20, 2025
@daniandtheweb
Copy link
Owner

Since you're using the changes from stduhpf's fork if you happen to find any other interesting option feel free to open an issue with the potential enhancement or a PR with the required changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants