mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 12:05:48 +00:00
Bump to 7ec32fe4.
dmenu: use die() to print the usage message Ref. https://git.suckless.org/dmenu/commit/7ec32fe4944d4f7137cf2a23366324ffe0f10a70.html
This commit is contained in:
parent
18466cd149
commit
ab98c7c1a9
5
dmenu.c
5
dmenu.c
@ -1798,7 +1798,7 @@ setup(void)
|
|||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fputs("usage: dmenu [-bv"
|
die("usage: dmenu [-bv"
|
||||||
#if CENTER_PATCH
|
#if CENTER_PATCH
|
||||||
"c"
|
"c"
|
||||||
#endif
|
#endif
|
||||||
@ -1888,8 +1888,7 @@ usage(void)
|
|||||||
#if SEPARATOR_PATCH
|
#if SEPARATOR_PATCH
|
||||||
"\n [-d separator] [-D separator]"
|
"\n [-d separator] [-D separator]"
|
||||||
#endif // SEPARATOR_PATCH
|
#endif // SEPARATOR_PATCH
|
||||||
"\n", stderr);
|
"\n");
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user