aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-reporevdepends
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-reporevdepends')
-rwxr-xr-xcontrib/kiss-reporevdepends5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/kiss-reporevdepends b/contrib/kiss-reporevdepends
index 1a83c33..59262f0 100755
--- a/contrib/kiss-reporevdepends
+++ b/contrib/kiss-reporevdepends
@@ -2,10 +2,7 @@
# Display packages on the repository which depend on package
# shellcheck disable=2086
-[ "$1" ] || {
- printf 'usage: %s <pkg>\n' "${0##*/}"
- exit 1
-}
+case "$1" in ''|--help|-h) printf 'usage: %s <pkg>\n' "${0##*/}"; exit 0; esac
pkg="$1"
IFS=:; set -- $KISS_PATH; unset IFS