diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 21:48:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 21:48:11 +0000 |
commit | 75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df (patch) | |
tree | 66f7cb600434ebfd34166f3e4ebf4257ee3cb986 /tmux.h | |
parent | 5a3b92c2dfd9fbcf8bda10742cea1fb47927536d (diff) | |
download | rtmux-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); |