summaryrefslogtreecommitdiff
path: root/Command/InAnnex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/InAnnex.hs')
-rw-r--r--Command/InAnnex.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/InAnnex.hs b/Command/InAnnex.hs
index 24f7162ac..713492c2f 100644
--- a/Command/InAnnex.hs
+++ b/Command/InAnnex.hs
@@ -12,6 +12,7 @@ import System.Exit
import Command
import Content
+import Types
command :: [Command]
command = [repoCommand "inannex" (paramRepeating paramKey) seek
@@ -20,7 +21,7 @@ command = [repoCommand "inannex" (paramRepeating paramKey) seek
seek :: [CommandSeek]
seek = [withKeys start]
-start :: CommandStartKey
+start :: Key -> CommandStart
start key = do
present <- inAnnex key
if present