summaryrefslogtreecommitdiff
path: root/src/fe-common/core/module-formats.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-05-19 11:25:14 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-05-19 11:25:14 +0000
commit547e3defc23e52cd4896ddde03f676385308acd0 (patch)
tree8c63f76f9b390c187acfe1ee33f921da1b648e49 /src/fe-common/core/module-formats.c
parentf9376ec8e7d54ed0fe4d9f3a6b63ba55887434c3 (diff)
downloadirssi-547e3defc23e52cd4896ddde03f676385308acd0.zip
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
Diffstat (limited to 'src/fe-common/core/module-formats.c')
-rw-r--r--src/fe-common/core/module-formats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/module-formats.c b/src/fe-common/core/module-formats.c
index 7c9506e6..10ada9ec 100644
--- a/src/fe-common/core/module-formats.c
+++ b/src/fe-common/core/module-formats.c
@@ -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 } },