aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-manifest
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-manifest')
-rwxr-xr-xcontrib/kiss-manifest2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-manifest b/contrib/kiss-manifest
index 84d2526..29c46ea 100755
--- a/contrib/kiss-manifest
+++ b/contrib/kiss-manifest
@@ -1,6 +1,6 @@
#!/bin/sh -ef
# Display all files owned by a package
-[ "$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/manifest" 2>/dev/null