summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index d59af9e6cf..e1d67d783b 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4654,6 +4654,11 @@ static int do_message_op(void)
case 'g':
grepable=true;
break;
+ default:
+ d_fprintf(stderr, "\nInvalid option %s: %s\n\n",
+ poptBadOption(pc, 0), poptStrerror(opt));
+ poptPrintUsage(pc, stderr, 0);
+ exit(1);
}
}