about summary refs log tree commit diff
path: root/mpick.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpick.c')
-rw-r--r--mpick.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpick.c b/mpick.c
index ba90906..9e30aab 100644
--- a/mpick.c
+++ b/mpick.c
@@ -1005,6 +1005,9 @@ main(int argc, char *argv[])
 		switch (c) {
 		case 'T': Tflag = need_thr = 1; break;
 		case 't': expr = chain(expr, EXPR_AND, parse_expr(optarg)); break;
+		default:
+			fprintf(stderr, "Usage: %s [-T] [-t test] [msglist ...]\n", argv0);
+			exit(1);
 		}
 
 	if (optind != argc)