summaryrefslogtreecommitdiff
path: root/Command/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Init.hs')
-rw-r--r--Command/Init.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Init.hs b/Command/Init.hs
index 664643200..e2a6eb7b0 100644
--- a/Command/Init.hs
+++ b/Command/Init.hs
@@ -13,8 +13,9 @@ import Annex.UUID
import Logs.UUID
import Init
-command :: [Command]
-command = [Command "init" paramDesc noChecks seek "initialize git-annex"]
+def :: [Command]
+def = [dontCheck repoExists $
+ command "init" paramDesc seek "initialize git-annex"]
seek :: [CommandSeek]
seek = [withWords start]