aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-maintainer
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-maintainer')
-rwxr-xr-xcontrib/kiss-maintainer2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-maintainer b/contrib/kiss-maintainer
index 1561754..da91420 100755
--- a/contrib/kiss-maintainer
+++ b/contrib/kiss-maintainer
@@ -1,7 +1,7 @@
#!/bin/sh -ef
# Find the maintainer of 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 s "$1" | while read -r repo; do cd "$repo"
m=$(git log -1 version 2>/dev/null) ||: