summaryrefslogtreecommitdiff
path: root/Command/Upgrade.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Upgrade.hs')
-rw-r--r--Command/Upgrade.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Upgrade.hs b/Command/Upgrade.hs
index 0fa9022ff..c02a6709f 100644
--- a/Command/Upgrade.hs
+++ b/Command/Upgrade.hs
@@ -13,10 +13,10 @@ import Upgrade
cmd :: Command
cmd = dontCheck repoExists $ -- because an old version may not seem to exist
- command "upgrade" paramNothing seek
- SectionMaintenance "upgrade repository layout"
+ command "upgrade" SectionMaintenance "upgrade repository layout"
+ paramNothing (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withNothing start
start :: CommandStart