summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11perf.c b/x11perf.c
index eacea0d..e20de88 100644
--- a/x11perf.c
+++ b/x11perf.c
@@ -336,7 +336,7 @@ missing_arg(const char *option)
_X_NORETURN _X_COLD static void
invalid_arg( const char *arg, const char *option)
{
- fprintf(stderr, "Error: invalid argument to %s\n", arg, option);
+ fprintf(stderr, "Error: invalid argument '%s' to %s\n", arg, option);
usage(USAGE_OPTIONS, EXIT_FAILURE);
}