diff options
-rw-r--r-- | mdns-repeater.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mdns-repeater.c b/mdns-repeater.c index 05aa002..8192146 100644 --- a/mdns-repeater.c +++ b/mdns-repeater.c @@ -264,6 +264,12 @@ static int parse_opts(int argc, char *argv[]) { switch (c) { case 'h': help = 1; break; case 'f': foreground = 1; break; + + case '?': + case ':': + fputs("\n", stderr); + break; + default: fprintf(stderr, "unknown option %c\n", optopt); exit(2); |