From 5e392842c053fdc634598965abe5fed8a73466d8 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 11 Jan 2022 18:15:41 -0300 Subject: [PATCH] Add dummy flag -i for compatibility --- dmenu.c | 2 ++ 1 file changed, 2 insertions(+) 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;