summaryrefslogtreecommitdiff
path: root/Command/Version.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Version.hs')
-rw-r--r--Command/Version.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Version.hs b/Command/Version.hs
index 905a48a51..5a45fd77f 100644
--- a/Command/Version.hs
+++ b/Command/Version.hs
@@ -12,8 +12,9 @@ import Command
import qualified Build.SysConfig as SysConfig
import Annex.Version
-command :: [Command]
-command = [Command "version" paramNothing noChecks seek "show version info"]
+def :: [Command]
+def = [dontCheck repoExists $
+ command "version" paramNothing seek "show version info"]
seek :: [CommandSeek]
seek = [withNothing start]