Signed-off-by: Hannes Reinecke <hare@xxxxxxx> --- multipathd/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multipathd/main.c b/multipathd/main.c index 18b225a..59f0c68 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -2234,7 +2234,9 @@ main (int argc, char *argv[]) conf->ignore_new_devs = 1; break; default: - ; + fprintf(stderr, "Invalid argument '-%c'\n", + optopt); + exit(1); } } if (optind < argc) { -- 2.6.6 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel