usage ()
{
cat <<EOF
-Usage: $progname lustretag
- where lustretag is a tag of the lustre-core module
+Usage: $progname <lustretag>
+ where <lustretag> is a tag of the lustre-core module
EOF
}
exec "$0" "$@"
fi
+[ "$1" = "-r" ] && shift
+
buildtag="HEAD"
lustretag="$1"
+shift
+
+if [ "$*" ] ; then
+ usage >&2
+ exit 1
+fi
+
case "$lustretag" in
'')