Skip to content

Commit

Permalink
batch mode: fall back to stdin input with no auxiliary arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos committed Mar 1, 2025
1 parent 4688bb8 commit ee68d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ int main(int argc, char * argv[]) {
return 1;
}

if (batch) {
if (batch && res->pos_argc) {
switch (mode) {
case MODE_ENCODE:
/* Encode each of the files. */
Expand Down

0 comments on commit ee68d33

Please sign in to comment.