summaryrefslogtreecommitdiffstats
path: root/cmd-bind-key.c
Side-by-side diff
Diffstat (limited to 'cmd-bind-key.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-bind-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-bind-key.c b/cmd-bind-key.c
index bddc231..7a34736 100644
--- a/cmd-bind-key.c
+++ b/cmd-bind-key.c
@@ -82,7 +82,7 @@ cmd_bind_key_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);
error:
cmd_bind_key_free(data);