[hackers] [sbase] test: eprintf in usage || Connor Lane Smith
changeset: 120:b0bef278e74c
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Tue May 15 13:34:32 2012 +0100
files: test.c
description:
test: eprintf in usage
diff -r 689e16ec4400 -r b0bef278e74c test.c
--- a/test.c Tue May 15 13:32:56 2012 +0100
+++ b/test.c Tue May 15 13:34:32 2012 +0100
_AT_@ -114,7 +114,6 @@
{
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);
}
Received on Tue May 15 2012 - 14:34:37 CEST
This archive was generated by hypermail 2.3.0
: Tue May 15 2012 - 14:36:09 CEST