~gnkv/dmenu

7ec32fe4944d4f7137cf2a23366324ffe0f10a70 — Tom Schwindl 2 years ago fce06f4
dmenu: use die() to print the usage message
1 files changed, 2 insertions(+), 3 deletions(-)

M dmenu.c
M dmenu.c => dmenu.c +2 -3
@@ 710,9 710,8 @@ setup(void)
static void
usage(void)
{
	fputs("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
	      "             [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]\n", stderr);
	exit(1);
	die("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
	    "             [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]");
}

int