1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Add syntax info for completion

Allows syntax info to be picked up and displayed by help command.

Fixes #687
This commit is contained in:
Joseph Bisch 2017-04-07 12:54:18 -04:00
parent 3f69e71804
commit 3297fafcd9
No known key found for this signature in database
GPG Key ID: CF08FAC339AB7E8E

View File

@ -784,6 +784,7 @@ static void sig_complete_command(GList **list, WINDOW_REC *window,
if (*list != NULL) signal_stop(); if (*list != NULL) signal_stop();
} }
/* SYNTAX: COMPLETION [-auto] [-delete] <key> <value> */
static void cmd_completion(const char *data) static void cmd_completion(const char *data)
{ {
GHashTable *optlist; GHashTable *optlist;