dmenu: use die() to print the usage message
This commit is contained in:
parent
fce06f437d
commit
7ec32fe494
1 changed files with 2 additions and 3 deletions
5
dmenu.c
5
dmenu.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue