summaryrefslogtreecommitdiff
path: root/symlink-tree
diff options
context:
space:
mode:
Diffstat (limited to 'symlink-tree')
-rwxr-xr-xsymlink-tree5
1 files changed, 5 insertions, 0 deletions
diff --git a/symlink-tree b/symlink-tree
index 096582db6eb..8f11c087932 100755
--- a/symlink-tree
+++ b/symlink-tree
@@ -10,6 +10,11 @@ prog=$0
srcdir=$1
ignore="$2"
+if test $# -lt 1; then
+ echo "symlink-tree error: Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
+ exit 1
+fi
+
ignore_additional=". .. CVS"
# If we were invoked with a relative path name, adjust ${prog} to work