Remove unnecessary exit(1) in usage()

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
stateless 2013-06-17 14:08:30 +01:00 committed by Christoph Lohmann
parent f66b47bc6f
commit 7216a53a7e
29 changed files with 0 additions and 29 deletions

View File

@ -17,7 +17,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-r] mode [file...]\n", argv0); eprintf("usage: %s [-r] mode [file...]\n", argv0);
exit(1);
} }
int int

View File

@ -18,7 +18,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-r] [owner][:[group]] file...\n", argv0); eprintf("usage: %s [-r] [owner][:[group]] file...\n", argv0);
exit(1);
} }
int int

1
cmp.c
View File

@ -11,7 +11,6 @@ static void
usage(void) usage(void)
{ {
enprintf(Error, "usage: %s [-ls] file1 file2\n", argv0); enprintf(Error, "usage: %s [-ls] file1 file2\n", argv0);
exit(1);
} }
int int

1
date.c
View File

@ -9,7 +9,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-u] [-d format] [+FORMAT]\n", argv0); eprintf("usage: %s [-u] [-d format] [+FORMAT]\n", argv0);
exit(1);
} }
int int

View File

@ -9,7 +9,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s string\n", argv0); eprintf("usage: %s string\n", argv0);
exit(1);
} }
int int

1
echo.c
View File

@ -9,7 +9,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-n] text\n", argv0); eprintf("usage: %s [-n] text\n", argv0);
exit(1);
} }
int int

1
fold.c
View File

@ -17,7 +17,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-bs] [-w width] [FILE...]\n", argv0); eprintf("usage: %s [-bs] [-w width] [FILE...]\n", argv0);
exit(1);
} }
int int

1
head.c
View File

@ -11,7 +11,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-n] [FILE...]\n", argv0); eprintf("usage: %s [-n] [FILE...]\n", argv0);
exit(1);
} }
int int

1
kill.c
View File

@ -24,7 +24,6 @@ usage(void)
{ {
eprintf("usage: %s [-s signal] [pid...]\n" eprintf("usage: %s [-s signal] [pid...]\n"
" %s -l [signum]\n", argv0, argv0); " %s -l [signum]\n", argv0, argv0);
exit(1);
} }
int int

1
ln.c
View File

@ -15,7 +15,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-fs] target linkname\n", argv0); eprintf("usage: %s [-fs] target linkname\n", argv0);
exit(1);
} }
int int

1
ls.c
View File

@ -39,7 +39,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-adlt] [FILE...]\n", argv0); eprintf("usage: %s [-adlt] [FILE...]\n", argv0);
exit(1);
} }
int int

1
mc.c
View File

@ -18,7 +18,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-c chars] [FILE...]\n", argv0); eprintf("usage: %s [-c chars] [FILE...]\n", argv0);
exit(1);
} }
int int

View File

@ -14,7 +14,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-p] directory...\n", argv0); eprintf("usage: %s [-p] directory...\n", argv0);
exit(1);
} }
int int

View File

@ -9,7 +9,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s name...\n", argv0); eprintf("usage: %s name...\n", argv0);
exit(1);
} }
int int

1
mv.c
View File

@ -13,7 +13,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s source... dest\n", argv0); eprintf("usage: %s source... dest\n", argv0);
exit(1);
} }
int int

1
nl.c
View File

@ -19,7 +19,6 @@ usage(void)
{ {
eprintf("usage: %s [-b style] [-i increment] [-s sep] [FILE...]\n", eprintf("usage: %s [-b style] [-i increment] [-s sep] [FILE...]\n",
argv0); argv0);
exit(1);
} }
int int

View File

@ -13,7 +13,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s command [argument...]\n", argv0); eprintf("usage: %s command [argument...]\n", argv0);
exit(1);
} }
int int

View File

@ -23,7 +23,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-s] [-d list] file...\n", argv0); eprintf("usage: %s [-s] [-d list] file...\n", argv0);
exit(1);
} }
int int

1
pwd.c
View File

@ -11,7 +11,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-LP]\n", argv0); eprintf("usage: %s [-LP]\n", argv0);
exit(1);
} }
int int

View File

@ -12,7 +12,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-fn] file\n", argv0); eprintf("usage: %s [-fn] file\n", argv0);
exit(1);
} }
int int

1
rm.c
View File

@ -11,7 +11,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-fr] FILE...\n", argv0); eprintf("usage: %s [-fr] FILE...\n", argv0);
exit(1);
} }
int int

1
seq.c
View File

@ -16,7 +16,6 @@ usage(void)
{ {
eprintf("usage: %s [-f format] [-s sep] [-w width] first" eprintf("usage: %s [-f format] [-s sep] [-w width] first"
" [inc [last]]\n", argv0); " [inc [last]]\n", argv0);
exit(1);
} }
int int

View File

@ -7,7 +7,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s seconds\n", argv0); eprintf("usage: %s seconds\n", argv0);
exit(1);
} }
int int

1
sort.c
View File

@ -18,7 +18,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-ru] [file...]\n", argv0); eprintf("usage: %s [-ru] [file...]\n", argv0);
exit(1);
} }
int int

1
tail.c
View File

@ -13,7 +13,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-n lines] [file]\n", argv0); eprintf("usage: %s [-n lines] [file]\n", argv0);
exit(1);
} }
int int

1
tee.c
View File

@ -9,7 +9,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-a] [file...]\n", argv0); eprintf("usage: %s [-a] [file...]\n", argv0);
exit(1);
} }
int int

View File

@ -18,7 +18,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-c] [-t stamp] file...\n", argv0); eprintf("usage: %s [-c] [-t stamp] file...\n", argv0);
exit(1);
} }
int int

View File

@ -10,7 +10,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-amnrsv]\n", argv0); eprintf("usage: %s [-amnrsv]\n", argv0);
exit(1);
} }
int int

1
uniq.c
View File

@ -23,7 +23,6 @@ static void
usage(void) usage(void)
{ {
eprintf("usage: %s [-cdu] [input]]\n", argv0); eprintf("usage: %s [-cdu] [input]]\n", argv0);
exit(1);
} }
int int