aboutsummaryrefslogtreecommitdiff
path: root/admin/getmaintbuilds
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-08-29 20:29:22 -0400
committerB. Watson <urchlay@slackware.uk>2026-08-29 20:29:22 -0400
commit28a84449e0f3ad31e39795e6a4433e33da1ad0fc (patch)
tree7bdbfc5c8e4d9fdf5782ec88d4da987531cb50ef /admin/getmaintbuilds
parent55504fefce3078ac683b85508fa8af9e4d1b2059 (diff)
downloadsbostuff-28a84449e0f3ad31e39795e6a4433e33da1ad0fc.tar.gz
getmaintbuilds, getmaintdependees: add --help.
Diffstat (limited to 'admin/getmaintbuilds')
-rwxr-xr-xadmin/getmaintbuilds18
1 files changed, 18 insertions, 0 deletions
diff --git a/admin/getmaintbuilds b/admin/getmaintbuilds
index ea665c9..7fd8366 100755
--- a/admin/getmaintbuilds
+++ b/admin/getmaintbuilds
@@ -1,5 +1,23 @@
#!/bin/sh
+SELF="$( basename $0 )"
+
+if [ "$1" = "" -o "$1" = "--help" ]; then
+ cat <<EOF
+$SELF - list SlackBuilds by maintainer.
+
+Usage: $SELF <maintainer>
+
+<maintainer> does not need to be quoted, if it contains spaces (although
+it can be).
+
+If <maintainer> contains an @, it's assumed to be an email address,
+otherwise it's treated as name. Watch out for obfuscated email
+addresses!
+EOF
+ exit 0
+fi
+
source ~/sbostuff/sbostuff.sh
cd $SBO_GITROOT || exit 1
if echo "$*" | grep -q '@'; then