summaryrefslogtreecommitdiff
path: root/Command/ConfigList.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/ConfigList.hs')
-rw-r--r--Command/ConfigList.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/Command/ConfigList.hs b/Command/ConfigList.hs
index 33b348b07..78c6d8d24 100644
--- a/Command/ConfigList.hs
+++ b/Command/ConfigList.hs
@@ -15,11 +15,12 @@ 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" paramNothing
+ SectionPlumbing "outputs relevant git configuration"
+ (commandParser seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withNothing start
start :: CommandStart