X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audioc.c;h=d9478ab9c6596cad31dc8e31950dcb0a428adbbb;hp=77a0539d2e4513a2e9cc3f926e303f264d08d3b8;hb=e96982fb3158bb8293d2c63b8341cbc0712faca1;hpb=e072e2a4feb9879f66bc4847a5007cec07b5f5f7 diff --git a/audioc.c b/audioc.c index 77a0539d..d9478ab9 100644 --- a/audioc.c +++ b/audioc.c @@ -97,6 +97,12 @@ I9E_DUMMY_COMPLETER(term); static void help_completer(struct i9e_completion_info *ci, struct i9e_completion_result *result) { + char *opts[] = {LSG_AUDIOD_CMD_HELP_OPTS, NULL}; + + if (ci->word[0] == '-') { + i9e_complete_option(opts, ci, result); + return; + } result->matches = i9e_complete_commands(ci->word, audiod_completers); }