summaryrefslogtreecommitdiff
path: root/Command/SendKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/SendKey.hs')
-rw-r--r--Command/SendKey.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/SendKey.hs b/Command/SendKey.hs
index f676ae947..98d257338 100644
--- a/Command/SendKey.hs
+++ b/Command/SendKey.hs
@@ -17,6 +17,7 @@ import Content
import Utility.RsyncFile
import Utility.Conditional
import Messages
+import Types
command :: [Command]
command = [repoCommand "sendkey" paramKey seek
@@ -25,7 +26,7 @@ command = [repoCommand "sendkey" paramKey seek
seek :: [CommandSeek]
seek = [withKeys start]
-start :: CommandStartKey
+start :: Key -> CommandStart
start key = do
g <- Annex.gitRepo
let file = gitAnnexLocation g key