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