simplify usage: remove useless use of printf - lchat - A line oriented chat fro… | |
git clone git://git.suckless.org/lchat | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit ec8b3f85b73d80724d0ac489e19b2fd6b3c5e2d8 | |
parent 6bef7349da7ea27ecdb562a4e47fd268cabe514d | |
Author: Jan Klemkow <[email protected]> | |
Date: Mon, 2 Apr 2018 01:07:42 +0200 | |
simplify usage: remove useless use of printf | |
Diffstat: | |
M lchat.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/lchat.c b/lchat.c | |
@@ -162,8 +162,8 @@ fork_filter(int *read, int *write) | |
static void | |
usage(void) | |
{ | |
- fprintf(stderr, "lchat [-aeh] [-n lines] [-p prompt] [-t title] [-i in… | |
- " [-o out] [directory]\n"); | |
+ fputs("lchat [-aeh] [-n lines] [-p prompt] [-t title] [-i in] [-o out]" | |
+ " [directory]\n", stderr); | |
exit(EXIT_FAILURE); | |
} | |