mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-22 10:37:25 +00:00
Use member names in cmd_entry definitions so I stop getting confused
about the order.
This commit is contained in:
parent
899bee0056
commit
ecfeee2e82
63 changed files with 716 additions and 449 deletions
|
|
@ -35,11 +35,14 @@ enum cmd_retval cmd_load_buffer_exec(struct cmd *, struct cmd_q *);
|
|||
void cmd_load_buffer_callback(struct client *, int, void *);
|
||||
|
||||
const struct cmd_entry cmd_load_buffer_entry = {
|
||||
"load-buffer", "loadb",
|
||||
"b:", 1, 1,
|
||||
CMD_BUFFER_USAGE " path",
|
||||
0,
|
||||
cmd_load_buffer_exec
|
||||
.name = "load-buffer",
|
||||
.alias = "loadb",
|
||||
|
||||
.args = { "b:", 1, 1 },
|
||||
.usage = CMD_BUFFER_USAGE " path",
|
||||
|
||||
.flags = 0,
|
||||
.exec = cmd_load_buffer_exec
|
||||
};
|
||||
|
||||
enum cmd_retval
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue