summaryrefslogtreecommitdiff
path: root/Command/VCycle.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/VCycle.hs')
-rw-r--r--Command/VCycle.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Command/VCycle.hs b/Command/VCycle.hs
index 31a5f80c2..a3c61d859 100644
--- a/Command/VCycle.hs
+++ b/Command/VCycle.hs
@@ -16,10 +16,11 @@ import Command.View (checkoutViewBranch)
cmd :: Command
cmd = notBareRepo $ notDirect $
- command "vcycle" paramNothing seek SectionMetaData
- "switch view to next layout"
+ command "vcycle" SectionMetaData
+ "switch view to next layout"
+ paramNothing (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withNothing start
start ::CommandStart