diff options
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/newcvsroot | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index af3c168..e442332 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +1999-12-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> + + * newcvsroot: Add check on the number of command-line arguments. + Add usage. + Sun Nov 28 00:41:44 1999 William Bader (william@nscs.fast.net) * gcc_update: Allow patches compressed by bzip2. diff --git a/contrib/newcvsroot b/contrib/newcvsroot index 4ce1352..d264bbf 100755 --- a/contrib/newcvsroot +++ b/contrib/newcvsroot @@ -6,6 +6,11 @@ # Usage: newcvsroot <newroot> <modulename> <toplevel directory> +if [ $# != 3 ]; then + echo "usage: `basename $0` <newroot> <modulename> <toplevel directory>" + exit 1 +fi + root=$1; shift module=$1; shift topdir=$1; shift |