From 5b74b130a39d8c45e7d24520d838d6c1635582c7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 Oct 2011 16:31:35 -0400 Subject: refactored and generalized pre-command sanity checking --- Command/Describe.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Describe.hs') diff --git a/Command/Describe.hs b/Command/Describe.hs index 65cd8d0bf..9184ede9c 100644 --- a/Command/Describe.hs +++ b/Command/Describe.hs @@ -13,7 +13,7 @@ import qualified Remote import Logs.UUID command :: [Command] -command = [repoCommand "describe" (paramPair paramRemote paramDesc) seek +command = [Command "describe" (paramPair paramRemote paramDesc) needsRepo seek "change description of a repository"] seek :: [CommandSeek] -- cgit v1.2.3