From 1dec252a52db6e7b0329d829698e4d17e9411110 Mon Sep 17 00:00:00 2001 From: Thomas Levine Date: Mon, 8 Oct 2012 10:43:14 -0400 Subject: [PATCH] urchin usage help thingy --- urchin | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/urchin b/urchin index 6fd64d7..7f907a7 100755 --- a/urchin +++ b/urchin @@ -28,7 +28,13 @@ recurse() { fi } -echo Running tests -recurse . -echo -echo Done +if [ "$*" = '' ] + then + echo Running tests + recurse . + echo + echo Done +else + echo 'Run `urchin` without arguments from a directory containing urchin tests.' + echo 'Go to http://www.urchin.sh for documentation on writing tests.' +fi