Replace printf() with puts()
The format strings are absent in these stdout prints. They can safely be replaced with calls to _puts()_ and shave also the newlines.
This commit is contained in:
parent
9c77051f83
commit
e0e21e92fb
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user