summaryrefslogtreecommitdiffstats
path: root/cmd-kill-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:08:36 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-02 21:08:36 +0000
commita26f58c7c394f81c523da597f85f69d3fc8bc8ad (patch)
tree869e58ba4df84531d550002ccb2a856ed5db2577 /cmd-kill-window.c
parentf6b86402c7fd1f4af0e4d163f22e4b9f71b2e538 (diff)
Last bits of basic configuration file. By default in ~/.tmux.conf or specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created.
Diffstat (limited to 'cmd-kill-window.c')
-rw-r--r--cmd-kill-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-kill-window.c b/cmd-kill-window.c
index 5370fdc3..ad859302 100644
--- a/cmd-kill-window.c
+++ b/cmd-kill-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-kill-window.c,v 1.8 2008-06-02 18:08:16 nicm Exp $ */
+/* $Id: cmd-kill-window.c,v 1.9 2008-06-02 21:08:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -85,7 +85,7 @@ cmd_kill_window_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_kill_window_free(data);