summaryrefslogtreecommitdiff
path: root/Command/GCryptSetup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/GCryptSetup.hs')
-rw-r--r--Command/GCryptSetup.hs11
1 files changed, 6 insertions, 5 deletions
diff --git a/Command/GCryptSetup.hs b/Command/GCryptSetup.hs
index 7a7f8ae50..5c2686635 100644
--- a/Command/GCryptSetup.hs
+++ b/Command/GCryptSetup.hs
@@ -13,12 +13,13 @@ import Annex.UUID
import qualified Remote.GCrypt
import qualified Git
-cmd :: [Command]
-cmd = [dontCheck repoExists $ noCommit $
- command "gcryptsetup" paramValue seek
- SectionPlumbing "sets up gcrypt repository"]
+cmd :: Command
+cmd = dontCheck repoExists $ noCommit $
+ command "gcryptsetup" SectionPlumbing
+ "sets up gcrypt repository"
+ paramValue (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withStrings start
start :: String -> CommandStart