summaryrefslogtreecommitdiff
path: root/Command/TransferInfo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/TransferInfo.hs')
-rw-r--r--Command/TransferInfo.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/Command/TransferInfo.hs b/Command/TransferInfo.hs
index f90e2ad73..44ffe59ad 100644
--- a/Command/TransferInfo.hs
+++ b/Command/TransferInfo.hs
@@ -15,11 +15,12 @@ import Types.Key
import qualified CmdLine.GitAnnexShell.Fields as Fields
import Utility.Metered
-cmd :: [Command]
-cmd = [noCommit $ command "transferinfo" paramKey seek SectionPlumbing
- "updates sender on number of bytes of content received"]
+cmd :: Command
+cmd = noCommit $ command "transferinfo" paramKey SectionPlumbing
+ "updates sender on number of bytes of content received"
+ (commandParser seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withWords start
{- Security: