summaryrefslogtreecommitdiffstats
path: root/lcrawl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-09-22 21:58:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-09-22 21:58:29 +0200
commit686e685c76b7ccbc048d3b6a208ec62f5ebc41f3 (patch)
tree3b9cdd2d92e88c738c264f4dacadb8f26f18fc0f /lcrawl
parent132a78114c437a3157bc241e7e938528195dfe22 (diff)
downloadutils-master.tar
utils-master.zip
lcrawl: Added usage messageHEADmaster
Diffstat (limited to 'lcrawl')
-rwxr-xr-xlcrawl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lcrawl b/lcrawl
index 2c087c5..0e6e113 100755
--- a/lcrawl
+++ b/lcrawl
@@ -27,4 +27,11 @@ function crawl() {
fi
}
+
+if [ $# -ne 4 ]; then
+ echo "Usage: $0 URL FILE-REGEX EXT-REGEX NEXT-REGEX"
+ exit 1
+fi
+
+
crawl "$BASIS" 0 \ No newline at end of file