diff --git a/package/gluon-neighbour-info/src/gluon-neighbour-info.c b/package/gluon-neighbour-info/src/gluon-neighbour-info.c index faa9159e..d0df56ab 100644 --- a/package/gluon-neighbour-info/src/gluon-neighbour-info.c +++ b/package/gluon-neighbour-info/src/gluon-neighbour-info.c @@ -201,7 +201,8 @@ int main(int argc, char **argv) { exit(EXIT_SUCCESS); break; default: - fprintf(stderr, "Invalid parameter %c ignored.\n", c); + fprintf(stderr, "Invalid parameter %c\n", optopt); + exit(EXIT_FAILURE); } if (request_string == NULL) {