summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-01 15:32:09 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-01 15:32:09 +0200
commit127e1e00772d9f4a8150ae9a94665e856da675bb (patch)
tree77cf33c1a7504273cb912918609235d3ff317afd /Userland
parent16628d0f8fba8346e0a0f9e2f0d0f5e5cec4c5df (diff)
downloadserenity-127e1e00772d9f4a8150ae9a94665e856da675bb.zip
wc: Add missing newlines to some error messages
Diffstat (limited to 'Userland')
-rw-r--r--Userland/wc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/wc.cpp b/Userland/wc.cpp
index c518a0936d..90ae30a592 100644
--- a/Userland/wc.cpp
+++ b/Userland/wc.cpp
@@ -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;
}