Merge pull request #106 from tiagofilipesilva/patch-1

Replace printf() with puts()
This commit is contained in:
Dominic Szablewski 2021-12-21 13:02:59 +01:00 committed by GitHub
commit 97e1c1f0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,10 +48,10 @@ SOFTWARE.
int main(int argc, char **argv) {
if (argc < 3) {
printf("Usage: qoiconv <infile> <outfile>\n");
printf("Examples:\n");
printf(" qoiconv input.png output.qoi\n");
printf(" qoiconv input.qoi output.png\n");
puts("Usage: qoiconv <infile> <outfile>");
puts("Examples:");
puts(" qoiconv input.png output.qoi");
puts(" qoiconv input.qoi output.png");
exit(1);
}