X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=d70bdb937e58c8b568917ac37b43c3b8dd458434;hp=34cc9189bb2a1768765be83a5edaf5c0e2be7f5d;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=6aad8ed5fef24cdf2c65cbb193572cb10c2b2c1c diff --git a/client.c b/client.c index 34cc9189..d70bdb93 100644 --- a/client.c +++ b/client.c @@ -22,7 +22,8 @@ #include "error.h" #include "version.h" -INIT_CLIENT_ERRLISTS; +/** Array of error strings. */ +DEFINE_PARA_ERRLIST; static struct sched sched; static struct client_task *ct; @@ -323,11 +324,7 @@ static void lsatt_completer(struct i9e_completion_info *ci, struct i9e_completion_result *cr) { char *opts[] = {"-i", "-l", "-r", NULL}; - - if (ci->word[0] == '-') - i9e_complete_option(opts, ci, cr); - else - complete_attributes(ci->word, &cr->matches); + i9e_complete_option(opts, ci, cr); } static void mvatt_completer(struct i9e_completion_info *ci,