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) { int main(int argc, char **argv) {
if (argc < 3) { if (argc < 3) {
printf("Usage: qoiconv <infile> <outfile>\n"); puts("Usage: qoiconv <infile> <outfile>");
printf("Examples:\n"); puts("Examples:");
printf(" qoiconv input.png output.qoi\n"); puts(" qoiconv input.png output.qoi");
printf(" qoiconv input.qoi output.png\n"); puts(" qoiconv input.qoi output.png");
exit(1); exit(1);
} }