summaryrefslogtreecommitdiffstats
path: root/cmd-send-keys.c
Side-by-side diff
Diffstat (limited to 'cmd-send-keys.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-send-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c
index 4e73b1f..d3c27e2 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -95,7 +95,7 @@ cmd_send_keys_parse(
return (0);
usage:
- usage(cause, "%s %s", self->entry->name, self->entry->usage);
+ xasprintf(cause, "usage: %s %s", self->entry->name, self->entry->usage);
cmd_send_keys_free(data);
return (-1);