summaryrefslogtreecommitdiff
path: root/Command/Direct.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Direct.hs')
-rw-r--r--Command/Direct.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Direct.hs b/Command/Direct.hs
index 3eda794a0..162780dd5 100644
--- a/Command/Direct.hs
+++ b/Command/Direct.hs
@@ -17,10 +17,10 @@ import Annex.Direct
cmd :: Command
cmd = notBareRepo $ noDaemonRunning $
- command "direct" paramNothing seek
- SectionSetup "switch repository to direct mode"
+ command "direct" SectionSetup "switch repository to direct mode"
+ paramNothing (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withNothing start
start :: CommandStart