From 686e685c76b7ccbc048d3b6a208ec62f5ebc41f3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 22 Sep 2010 21:58:29 +0200 Subject: lcrawl: Added usage message --- lcrawl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lcrawl') 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 -- cgit v1.2.3