summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/libreaddiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/libreaddiff')
-rwxr-xr-xsrc/abslibre-tools/libreaddiff6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/libreaddiff b/src/abslibre-tools/libreaddiff
index 9336198..c97ab7c 100755
--- a/src/abslibre-tools/libreaddiff
+++ b/src/abslibre-tools/libreaddiff
@@ -37,13 +37,13 @@ main() {
while getopts 'h' arg; do
case "$arg" in
- h) usage; exit 0 ;;
- *) usage >&2; exit 2 ;;
+ h) usage; exit $EXIT_SUCCESS ;;
+ *) usage >&2; exit $EXIT_INVALIDARGUMENT ;;
esac
done
if [[ $# -ne 1 ]] && [[ $# -ne 2 ]]; then
usage >&2
- exit 2
+ exit $EXIT_INVALIDARGUMENT
fi
# The repo to find missing packages in.