1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:27:45 +00:00

wc: Add missing newlines to some error messages

This commit is contained in:
Andreas Kling 2019-09-01 15:32:09 +02:00
parent 16628d0f8f
commit 127e1e0077

View file

@ -65,7 +65,7 @@ int count_words(const char* s)
int main(int argc, char** argv)
{
if (argc < 2) {
printf("usage: wc [-c|-m] [-lw] [file...]");
printf("usage: wc [-c|-m] [-lw] [file...]\n");
return 0;
}
@ -94,7 +94,7 @@ int main(int argc, char** argv)
Vector<String> files = args.get_single_values();
if (files.is_empty()) {
fprintf(stderr, "wc: No files provided");
fprintf(stderr, "wc: No files provided\n");
return 1;
}