mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
wc: Add missing newlines to some error messages
This commit is contained in:
parent
16628d0f8f
commit
127e1e0077
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)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
if (argc < 2) {
|
if (argc < 2) {
|
||||||
printf("usage: wc [-c|-m] [-lw] [file...]");
|
printf("usage: wc [-c|-m] [-lw] [file...]\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
Vector<String> files = args.get_single_values();
|
Vector<String> files = args.get_single_values();
|
||||||
if (files.is_empty()) {
|
if (files.is_empty()) {
|
||||||
fprintf(stderr, "wc: No files provided");
|
fprintf(stderr, "wc: No files provided\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue