version 1.29, 2015/11/12 12:43:36 |
version 1.30, 2015/11/18 14:27:44 |
|
|
enum cmd_retval cmd_list_keys_exec(struct cmd *, struct cmd_q *); |
enum cmd_retval cmd_list_keys_exec(struct cmd *, struct cmd_q *); |
|
|
enum cmd_retval cmd_list_keys_table(struct cmd *, struct cmd_q *); |
enum cmd_retval cmd_list_keys_table(struct cmd *, struct cmd_q *); |
enum cmd_retval cmd_list_keys_commands(struct cmd *, struct cmd_q *); |
enum cmd_retval cmd_list_keys_commands(struct cmd_q *); |
|
|
const struct cmd_entry cmd_list_keys_entry = { |
const struct cmd_entry cmd_list_keys_entry = { |
"list-keys", "lsk", |
"list-keys", "lsk", |
|
|
int repeat, width, tablewidth, keywidth; |
int repeat, width, tablewidth, keywidth; |
|
|
if (self->entry == &cmd_list_commands_entry) |
if (self->entry == &cmd_list_commands_entry) |
return (cmd_list_keys_commands(self, cmdq)); |
return (cmd_list_keys_commands(cmdq)); |
|
|
if (args_has(args, 't')) |
if (args_has(args, 't')) |
return (cmd_list_keys_table(self, cmdq)); |
return (cmd_list_keys_table(self, cmdq)); |
|
|
} |
} |
|
|
enum cmd_retval |
enum cmd_retval |
cmd_list_keys_commands(unused struct cmd *self, struct cmd_q *cmdq) |
cmd_list_keys_commands(struct cmd_q *cmdq) |
{ |
{ |
const struct cmd_entry **entryp; |
const struct cmd_entry **entryp; |
const struct cmd_entry *entry; |
const struct cmd_entry *entry; |