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) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user