aboutsummaryrefslogtreecommitdiff
path: root/wtf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'wtf8.c')
-rw-r--r--wtf8.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wtf8.c b/wtf8.c
index ea8950a..1b99d63 100644
--- a/wtf8.c
+++ b/wtf8.c
@@ -92,8 +92,10 @@ int main(int argc, char **argv) {
/*
* Check we have one and only one argument
*/
- if (argc != 2)
+ if (argc != 2) {
+ fprintf(stderr, "%s: Need one argument\n", PROGRAM_NAME);
exit(EXIT_FAILURE);
+ }
/*
* Print the sole argument first as hex octets, then as characters, spaced