summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/xpcat/xpcat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/xpcat/xpcat.c b/tools/xpcat/xpcat.c
index ce3d5854e..20528c20d 100644
--- a/tools/xpcat/xpcat.c
+++ b/tools/xpcat/xpcat.c
@@ -26,8 +26,10 @@ main(int argc, char *argv[])
i++;
if (i < argc)
output = argv[i];
- else
+ else {
+ usage(argv[0]);
return EXIT_FAILURE;
+ }
}
}