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 1d703d2f3..3e10988ed 100644
--- a/Command/Indirect.hs
+++ b/Command/Indirect.hs
@@ -22,10 +22,10 @@ import Annex.CatFile
import Annex.Init
import qualified Command.Add
-cmd :: [Command]
-cmd = [notBareRepo $ noDaemonRunning $
+cmd :: Command
+cmd = notBareRepo $ noDaemonRunning $
command "indirect" paramNothing seek
- SectionSetup "switch repository to indirect mode"]
+ SectionSetup "switch repository to indirect mode"
seek :: CommandSeek
seek = withNothing start