diff options
Diffstat (limited to 'contrib/kiss-depends')
-rwxr-xr-x | contrib/kiss-depends | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-depends b/contrib/kiss-depends index f972e3f..0c1687e 100755 --- a/contrib/kiss-depends +++ b/contrib/kiss-depends @@ -1,7 +1,7 @@ #!/bin/sh -ef # Display a package's dependencies -[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ;} +case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ; esac kiss l "$1" >/dev/null cat "$KISS_ROOT/var/db/kiss/installed/$1/depends" 2>/dev/null |