summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-04-07 12:54:18 -0400
committerJoseph Bisch <joseph.bisch@gmail.com>2017-04-07 12:56:46 -0400
commit3297fafcd9be1fc3f48557a12023a1ef20884985 (patch)
treedd150356aa1018a911d1f5b1ef990b7784297a5d /src
parent3f69e718044ac87eeb5144be6113c2be33261cd0 (diff)
downloadirssi-3297fafcd9be1fc3f48557a12023a1ef20884985.zip
Add syntax info for completion
Allows syntax info to be picked up and displayed by help command. Fixes #687
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/completion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/completion.c b/src/fe-common/core/completion.c
index 914ba80b..a97adc21 100644
--- a/src/fe-common/core/completion.c
+++ b/src/fe-common/core/completion.c
@@ -784,6 +784,7 @@ static void sig_complete_command(GList **list, WINDOW_REC *window,
if (*list != NULL) signal_stop();
}
+/* SYNTAX: COMPLETION [-auto] [-delete] <key> <value> */
static void cmd_completion(const char *data)
{
GHashTable *optlist;