diff options
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r-- | Command/ReKey.hs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs index 980b27f5a..597be57a5 100644 --- a/Command/ReKey.hs +++ b/Command/ReKey.hs @@ -18,12 +18,14 @@ import Logs.Location import Utility.CopyFile import qualified Remote -cmd :: [Command] -cmd = [notDirect $ command "rekey" - (paramOptional $ paramRepeating $ paramPair paramPath paramKey) - seek SectionPlumbing "change keys used for files"] +cmd :: Command +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 |