summaryrefslogtreecommitdiff
path: root/Command/Direct.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Direct.hs')
-rw-r--r--Command/Direct.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Direct.hs b/Command/Direct.hs
index 1a6b2cb05..3eda794a0 100644
--- a/Command/Direct.hs
+++ b/Command/Direct.hs
@@ -15,10 +15,10 @@ import qualified Git.Branch
import Config
import Annex.Direct
-cmd :: [Command]
-cmd = [notBareRepo $ noDaemonRunning $
+cmd :: Command
+cmd = notBareRepo $ noDaemonRunning $
command "direct" paramNothing seek
- SectionSetup "switch repository to direct mode"]
+ SectionSetup "switch repository to direct mode"
seek :: CommandSeek
seek = withNothing start