summaryrefslogtreecommitdiff
path: root/Command/ReKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r--Command/ReKey.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs
index 2a2787898..597be57a5 100644
--- a/Command/ReKey.hs
+++ b/Command/ReKey.hs
@@ -19,11 +19,13 @@ import Utility.CopyFile
import qualified Remote
cmd :: Command
-cmd = notDirect $ command "rekey"
- (paramRepeating $ paramPair paramPath paramKey)
- seek SectionPlumbing "change keys used for files"
+cmd = notDirect $
+ command "rekey" SectionPlumbing
+ "change keys used for files"
+ (paramRepeating $ paramPair paramPath paramKey)
+ (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withPairs start
start :: (FilePath, String) -> CommandStart