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 081d7ff35..0fa9022ff 100644
--- a/Command/Upgrade.hs
+++ b/Command/Upgrade.hs
@@ -11,10 +11,10 @@ import Common.Annex
import Command
import Upgrade
-cmd :: [Command]
-cmd = [dontCheck repoExists $ -- because an old version may not seem to exist
+cmd :: Command
+cmd = dontCheck repoExists $ -- because an old version may not seem to exist
command "upgrade" paramNothing seek
- SectionMaintenance "upgrade repository layout"]
+ SectionMaintenance "upgrade repository layout"
seek :: CommandSeek
seek = withNothing start