aboutsummaryrefslogtreecommitdiff
path: root/admin/getmaintbuilds
diff options
context:
space:
mode:
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