diff --git a/dmenu.c b/dmenu.c index ab5516b..4bcc952 100644 --- a/dmenu.c +++ b/dmenu.c @@ -747,6 +747,8 @@ main(int argc, char *argv[]) fast = 1; else if (!strcmp(argv[i], "-c")) /* centers dmenu on screen */ centered = 1; + else if (!strcmp(argv[i], "-i")) { /* case-insensitive item matching -- only for compatibility with scripts that uses this flag (in this build case-insensitive is the default) */ + } else if (!strcmp(argv[i], "-s")) { /* case-sensitive item matching */ fstrncmp = strncmp; fstrstr = strstr;