aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-cat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-cat')
-rwxr-xr-xcontrib/kiss-cat2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-cat b/contrib/kiss-cat
index 5f5cf5d..937b46d 100755
--- a/contrib/kiss-cat
+++ b/contrib/kiss-cat
@@ -1,8 +1,8 @@
#!/bin/sh -e
# Concatanate package files in the installed package database
# File names are printed to stderr.
+case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[musage: %s <pkg> [file] [file]\n' "${0##*/}" ; exit 0; esac
-[ "$1" ] || { printf '\033[1;33m-> \033[musage: %s <pkg> [file] [file]\n' "${0##*/}" ; exit 1;}
kiss l "${pkg:=$1}" >/dev/null ; shift
for file in ${*:-build depends sources version} ; do