Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where image could not be loaded from stdin #1400

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Fix issue where image could not be loaded from stdin #1400

merged 1 commit into from
Jan 21, 2023

Conversation

foresterre
Copy link
Owner

Previously we would explicitly require the --input or --glob-input argument to be present, for the input mode to be selected (batch or single file input and output).

Now we instead check if --glob-input is present, and if it is select batch mode, otherwise we always select 'simple' mode (i.e. single input and output). NB: this also means that stdin should always use single input and output.

fixes #1398

Previously we would explicitely require the --input or --glob-input argument to be present, for the input mode to be selected (batch or single file input and output).

Now we instead check if --glob-input is present, and if it is select batch mode, otherwise we always select 'simple' mode (i.e. single input and output). NB: this also means that stdin should always use single input and output.
@foresterre
Copy link
Owner Author

bors r+

@foresterre foresterre mentioned this pull request Jan 21, 2023
@bors
Copy link
Contributor

bors bot commented Jan 21, 2023

@bors bors bot merged commit 4c2b29b into main Jan 21, 2023
@foresterre foresterre deleted the stdin-fix branch January 21, 2023 18:15
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.

How to use stdin?
1 participant