Add 'list' option to bind command to list all the available commands and remove

hardcoded list in bind help.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4835 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-05-19 11:25:14 +00:00 committed by exg
commit 547e3defc2
4 changed files with 18 additions and 65 deletions

View file

@ -269,6 +269,7 @@ FORMAT_REC fecommon_core_formats[] = {
{ "perl_error", "Perl error: $0", 1, { 0 } },
{ "bind_header", "%#Key Action", 0 },
{ "bind_list", "%#$[!20]0 $1 $2", 3, { 0, 0, 0 } },
{ "bind_command_list", "$[!30]0 $1", 2, { 0, 0 } },
{ "bind_footer", "", 0 },
{ "bind_unknown_id", "Unknown bind action: $0", 1, { 0 } },
{ "config_saved", "Saved configuration to file $0", 1, { 0 } },