From c8da7131a5f62ac660f5d1c29a5da994434d7b2a Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 29 Aug 2014 15:35:27 +0100 Subject: [PATCH] Add back the usage test for two arguments, except when the command is 'status' --- weaver/weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/weave b/weaver/weave index fbf6cf96..25624042 100755 --- a/weaver/weave +++ b/weaver/weave @@ -17,7 +17,7 @@ usage() { exit 1 } -if [ "$#" -lt 1 ]; then +if [ "$COMMAND" != "status" -a "$#" -lt 2 ]; then usage exit 1 fi