1
0

dmenu: use die() to print the usage message

This commit is contained in:
Tom Schwindl 2022-09-26 09:24:15 +00:00 committed by Hiltjo Posthuma
parent fce06f437d
commit 7ec32fe494

View File

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