aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Giuseppe Calabrese <ugiucal@gmail.com>2019-05-10 18:03:16 +0200
committerGravatar Giuseppe Calabrese <ugiucal@gmail.com>2019-05-10 18:03:16 +0200
commitf8236c5d1559b85e481472ade252cf847b77d73f (patch)
tree0b7f285016a3909c68f48cebaeb6a440f9be9407 /src
parent2fa603e47433b6377397c635553623845d2d731c (diff)
downloadtweetpipe-f8236c5d1559b85e481472ade252cf847b77d73f.tar.gz
Exit with status code 2 after printing the usage
Diffstat (limited to 'src')
-rw-r--r--src/encpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encpipe.c b/src/encpipe.c
index cd06e35..735ed87 100644
--- a/src/encpipe.c
+++ b/src/encpipe.c
@@ -24,7 +24,7 @@ usage(void)
" -i, --in <file> read input from <file>\n"
" -o, --out <file> write output to <file>\n"
" -h, --help print this message");
- exit(0);
+ exit(2);
}
static int