aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 21:48:11 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 21:48:11 +0000
commit75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df (patch)
tree66f7cb600434ebfd34166f3e4ebf4257ee3cb986 /tmux.h
parent5a3b92c2dfd9fbcf8bda10742cea1fb47927536d (diff)
downloadrtmux-75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df.tar.gz
rtmux-75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df.tar.bz2
rtmux-75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df.zip
Lose usage and move it into the struct.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index d70b1a1a..7f5200f6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.48 2007-10-04 19:03:52 nicm Exp $ */
+/* $Id: tmux.h,v 1.49 2007-10-04 21:48:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -489,13 +489,13 @@ struct cmd_entry {
enum cmd_type type;
const char *name;
const char *alias;
+ const char *usage;
#define CMD_STARTSERVER 0x1
#define CMD_NOSESSION 0x2
int flags;
int (*parse)(void **, int, char **, char **);
- const char *(*usage)(void);
void (*exec)(void *, struct cmd_ctx *);
void (*send)(void *, struct buffer *);
void (*recv)(void **, struct buffer *);