-/*
- * Copyright (C) 1997 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 1997 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file client.c The client program used to connect to para_server. */
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);
}