wc: Add missing newlines to some error messages
This commit is contained in:
parent
16628d0f8f
commit
127e1e0077
Notes:
sideshowbarker
2024-07-19 12:25:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/127e1e00772
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue