Skip to content
Snippets Groups Projects
Commit 94d9e7ae authored by jacob's avatar jacob
Browse files

complain if more than one argument was passed, so that people who do...

complain if more than one argument was passed, so that people who do ./lustrecvs co -r foo get an error as soon as practical
parent c50af8f3
No related merge requests found
......@@ -19,8 +19,8 @@ fatal ()
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
}
......@@ -33,6 +33,13 @@ fi
buildtag="HEAD"
lustretag="$1"
shift
if [ "$*" ] ; then
usage >&2
exit 1
fi
case "$lustretag" in
'')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment