summaryrefslogtreecommitdiff
path: root/Command/ConfigList.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/ConfigList.hs')
-rw-r--r--Command/ConfigList.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/ConfigList.hs b/Command/ConfigList.hs
index 33b348b07..95498ba20 100644
--- a/Command/ConfigList.hs
+++ b/Command/ConfigList.hs
@@ -15,11 +15,13 @@ import qualified Annex.Branch
import qualified Git.Config
import Remote.GCrypt (coreGCryptId)
-cmd :: [Command]
-cmd = [noCommit $ command "configlist" paramNothing seek
- SectionPlumbing "outputs relevant git configuration"]
+cmd :: Command
+cmd = noCommit $
+ command "configlist" SectionPlumbing
+ "outputs relevant git configuration"
+ paramNothing (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withNothing start
start :: CommandStart