commit 43758f020b841ee83364f2df10dcc35ae38534fc
parent d2933ac980bc38012ef414cb8c3ad174e031a888
Author: Klemens Nanni <kl3@posteo.org>
Date: Wed, 4 May 2016 16:14:38 +0200
Use fprintf only once
Diffstat:
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/xbattmon.c b/xbattmon.c
@@ -361,11 +361,12 @@ loop(void)
void
usage(void)
{
- fprintf(stderr, "usage: %s [-c capacity] [-p bottom | top | left | right] [-t thickness] [-v]\n", argv0);
- fprintf(stderr, " -c\tspecify battery capacity\n");
- fprintf(stderr, " -p\tbar placement\n");
- fprintf(stderr, " -t\tbar thickness\n");
- fprintf(stderr, " -v\tshow version\n");
+ fprintf(stderr, "usage: %s [-c capacity] [-p bottom | top | left | right] [-t thickness] [-v]\n"
+ " -c\tspecify battery capacity\n"
+ " -p\tbar placement\n"
+ " -t\tbar thickness\n"
+ " -v\tshow version\n",
+ argv0);
exit(1);
}