summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index c67d8a9..115fe38 100644
--- a/chat.c
+++ b/chat.c
@@ -97,6 +97,7 @@ int main(int argc, char *argv[]) {
 			break; case 'u': user = optarg;
 			break; case 'v': self.debug = true;
 			break; case 'w': pass = optarg;
+			break; default:  return EX_USAGE;
 		}
 	}
 	if (!host) errx(EX_USAGE, "host required");