summaryrefslogtreecommitdiffstats
path: root/cmd-switch-client.c
Side-by-side diff
Diffstat (limited to 'cmd-switch-client.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-switch-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c
index f906c51..ef375a3 100644
--- a/cmd-switch-client.c
+++ b/cmd-switch-client.c
@@ -80,7 +80,7 @@ cmd_switch_client_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_switch_client_free(data);
return (-1);