sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 7c121e189e9383669f8ffeea02ac177cb54f0fb1
parent fcb8821246fa6367b279b493f52f264a27cea44b
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Tue, 15 May 2012 13:34:32 +0100

test: eprintf in usage
Diffstat:
Mtest.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test.c b/test.c @@ -114,7 +114,6 @@ usage(void) { const char *ket = (*argv0 == '[') ? " ]" : ""; - fprintf(stderr, "usage: %s string%s\n" - " %s [!] [-bcdefghLnprSstuwxz] string%s\n", argv0, ket, argv0, ket); - exit(EXIT_FAILURE); + eprintf("usage: %s string%s\n" + " %s [!] [-bcdefghLnprSstuwxz] string%s\n", argv0, ket, argv0, ket); }