diff options
Diffstat (limited to 'Command/ReadPresentKey.hs')
-rw-r--r-- | Command/ReadPresentKey.hs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Command/ReadPresentKey.hs b/Command/ReadPresentKey.hs index 8125ddf7e..2b0b51fe3 100644 --- a/Command/ReadPresentKey.hs +++ b/Command/ReadPresentKey.hs @@ -12,11 +12,14 @@ import Command import Logs.Location import Types.Key -cmd :: [Command] -cmd = [noCommit $ command "readpresentkey" (paramPair paramKey paramUUID) seek - SectionPlumbing "read records of where key is present"] +cmd :: Command +cmd = noCommit $ + command "readpresentkey" SectionPlumbing + "read records of where key is present" + (paramPair paramKey paramUUID) + (withParams seek) -seek :: CommandSeek +seek :: CmdParams -> CommandSeek seek = withWords start start :: [String] -> CommandStart |