X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client.c;h=c43ebe161cfa322ce3e08c6f8a980f2e6de846da;hb=e072e2a4feb9879f66bc4847a5007cec07b5f5f7;hp=3e9219fd9226a1f1f37c5010e0237b982da9c59d;hpb=e5de57de1b8bf1df96c152fc92f5a49f75d6d96c;p=paraslash.git diff --git a/client.c b/client.c index 3e9219fd..c43ebe16 100644 --- a/client.c +++ b/client.c @@ -250,6 +250,12 @@ static struct i9e_completer completers[]; static void help_completer(struct i9e_completion_info *ci, struct i9e_completion_result *result) { + char *opts[] = {LSG_SERVER_CMD_HELP_OPTS, NULL}; + + if (ci->word[0] == '-') { + i9e_complete_option(opts, ci, result); + return; + } result->matches = i9e_complete_commands(ci->word, completers); }