Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c50af8f
)
complain if more than one argument was passed, so that people who do ./lustrecvs...
author
jacob
<jacob>
Wed, 2 Feb 2005 04:29:51 +0000
(
04:29
+0000)
committer
jacob
<jacob>
Wed, 2 Feb 2005 04:29:51 +0000
(
04:29
+0000)
lustrecvs
patch
|
blob
|
history
diff --git
a/lustrecvs
b/lustrecvs
index
b2b21f5
..
8419be4
100755
(executable)
--- a/
lustrecvs
+++ b/
lustrecvs
@@
-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
'')