sbase

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

commit 7216a53a7ec58effea728eec275a319a9009c996
parent f66b47bc6f7ce63409855668d0d1550b83638609
Author: stateless <stateless@archlinux.us>
Date:   Mon Jun 17 14:08:30 +0100

Remove unnecessary exit(1) in usage()

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
chmod.c | 1-
chown.c | 1-
cmp.c | 1-
date.c | 1-
dirname.c | 1-
echo.c | 1-
fold.c | 1-
head.c | 1-
kill.c | 1-
ln.c | 1-
ls.c | 1-
mc.c | 1-
mkdir.c | 1-
mkfifo.c | 1-
mv.c | 1-
nl.c | 1-
nohup.c | 1-
paste.c | 1-
pwd.c | 1-
readlink.c | 1-
rm.c | 1-
seq.c | 1-
sleep.c | 1-
sort.c | 1-
tail.c | 1-
tee.c | 1-
touch.c | 1-
uname.c | 1-
uniq.c | 1-
29 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/chmod.c b/chmod.c @@ -17,7 +17,6 @@ static void usage(void) { eprintf("usage: %s [-r] mode [file...]\n", argv0); - exit(1); } int diff --git a/chown.c b/chown.c @@ -18,7 +18,6 @@ static void usage(void) { eprintf("usage: %s [-r] [owner][:[group]] file...\n", argv0); - exit(1); } int diff --git a/cmp.c b/cmp.c @@ -11,7 +11,6 @@ static void usage(void) { enprintf(Error, "usage: %s [-ls] file1 file2\n", argv0); - exit(1); } int diff --git a/date.c b/date.c @@ -9,7 +9,6 @@ static void usage(void) { eprintf("usage: %s [-u] [-d format] [+FORMAT]\n", argv0); - exit(1); } int diff --git a/dirname.c b/dirname.c @@ -9,7 +9,6 @@ static void usage(void) { eprintf("usage: %s string\n", argv0); - exit(1); } int diff --git a/echo.c b/echo.c @@ -9,7 +9,6 @@ static void usage(void) { eprintf("usage: %s [-n] text\n", argv0); - exit(1); } int diff --git a/fold.c b/fold.c @@ -17,7 +17,6 @@ static void usage(void) { eprintf("usage: %s [-bs] [-w width] [FILE...]\n", argv0); - exit(1); } int diff --git a/head.c b/head.c @@ -11,7 +11,6 @@ static void usage(void) { eprintf("usage: %s [-n] [FILE...]\n", argv0); - exit(1); } int diff --git a/kill.c b/kill.c @@ -24,7 +24,6 @@ usage(void) { eprintf("usage: %s [-s signal] [pid...]\n" " %s -l [signum]\n", argv0, argv0); - exit(1); } int diff --git a/ln.c b/ln.c @@ -15,7 +15,6 @@ static void usage(void) { eprintf("usage: %s [-fs] target linkname\n", argv0); - exit(1); } int diff --git a/ls.c b/ls.c @@ -39,7 +39,6 @@ static void usage(void) { eprintf("usage: %s [-adlt] [FILE...]\n", argv0); - exit(1); } int diff --git a/mc.c b/mc.c @@ -18,7 +18,6 @@ static void usage(void) { eprintf("usage: %s [-c chars] [FILE...]\n", argv0); - exit(1); } int diff --git a/mkdir.c b/mkdir.c @@ -14,7 +14,6 @@ static void usage(void) { eprintf("usage: %s [-p] directory...\n", argv0); - exit(1); } int diff --git a/mkfifo.c b/mkfifo.c @@ -9,7 +9,6 @@ static void usage(void) { eprintf("usage: %s name...\n", argv0); - exit(1); } int diff --git a/mv.c b/mv.c @@ -13,7 +13,6 @@ static void usage(void) { eprintf("usage: %s source... dest\n", argv0); - exit(1); } int diff --git a/nl.c b/nl.c @@ -19,7 +19,6 @@ usage(void) { eprintf("usage: %s [-b style] [-i increment] [-s sep] [FILE...]\n", argv0); - exit(1); } int diff --git a/nohup.c b/nohup.c @@ -13,7 +13,6 @@ static void usage(void) { eprintf("usage: %s command [argument...]\n", argv0); - exit(1); } int diff --git a/paste.c b/paste.c @@ -23,7 +23,6 @@ static void usage(void) { eprintf("usage: %s [-s] [-d list] file...\n", argv0); - exit(1); } int diff --git a/pwd.c b/pwd.c @@ -11,7 +11,6 @@ static void usage(void) { eprintf("usage: %s [-LP]\n", argv0); - exit(1); } int diff --git a/readlink.c b/readlink.c @@ -12,7 +12,6 @@ static void usage(void) { eprintf("usage: %s [-fn] file\n", argv0); - exit(1); } int diff --git a/rm.c b/rm.c @@ -11,7 +11,6 @@ static void usage(void) { eprintf("usage: %s [-fr] FILE...\n", argv0); - exit(1); } int diff --git a/seq.c b/seq.c @@ -16,7 +16,6 @@ usage(void) { eprintf("usage: %s [-f format] [-s sep] [-w width] first" " [inc [last]]\n", argv0); - exit(1); } int diff --git a/sleep.c b/sleep.c @@ -7,7 +7,6 @@ static void usage(void) { eprintf("usage: %s seconds\n", argv0); - exit(1); } int diff --git a/sort.c b/sort.c @@ -18,7 +18,6 @@ static void usage(void) { eprintf("usage: %s [-ru] [file...]\n", argv0); - exit(1); } int diff --git a/tail.c b/tail.c @@ -13,7 +13,6 @@ static void usage(void) { eprintf("usage: %s [-n lines] [file]\n", argv0); - exit(1); } int diff --git a/tee.c b/tee.c @@ -9,7 +9,6 @@ static void usage(void) { eprintf("usage: %s [-a] [file...]\n", argv0); - exit(1); } int diff --git a/touch.c b/touch.c @@ -18,7 +18,6 @@ static void usage(void) { eprintf("usage: %s [-c] [-t stamp] file...\n", argv0); - exit(1); } int diff --git a/uname.c b/uname.c @@ -10,7 +10,6 @@ static void usage(void) { eprintf("usage: %s [-amnrsv]\n", argv0); - exit(1); } int diff --git a/uniq.c b/uniq.c @@ -23,7 +23,6 @@ static void usage(void) { eprintf("usage: %s [-cdu] [input]]\n", argv0); - exit(1); } int