aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-revdepends
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-revdepends')
-rwxr-xr-xcontrib/kiss-revdepends2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-revdepends b/contrib/kiss-revdepends
index b2e18b3..05fa46d 100755
--- a/contrib/kiss-revdepends
+++ b/contrib/kiss-revdepends
@@ -1,7 +1,7 @@
#!/bin/sh -e
# Display packages which depend on package
-[ "$1" ] || { printf '%s\n' "usage: kiss-revdepends <pkg>" ; exit 1 ;}
+case "$1" in ''|--help|-h) printf '%s\n' "usage: kiss-revdepends <pkg>" ; exit 0 ; esac
kiss s "$1" >/dev/null
# 'cd' to the database directory as a simple way of