Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: flush stdout, ensure help text printed
Browse files Browse the repository at this point in the history
BLumia committed Jul 28, 2024
1 parent a6e31a2 commit 4b25971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.cpp
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ int main(int argc, char *argv[])

if (parser.isSet(supportedImageFormats)) {
fputs(qPrintable(MainWindow::supportedImageFormats().join(QChar('\n'))), stdout);
fflush(stdout);
::exit(EXIT_SUCCESS);
}

0 comments on commit 4b25971

Please sign in to comment.