summaryrefslogtreecommitdiff
path: root/Command/View.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/View.hs')
-rw-r--r--Command/View.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/View.hs b/Command/View.hs
index ae2878396..584cf091f 100644
--- a/Command/View.hs
+++ b/Command/View.hs
@@ -17,9 +17,9 @@ import Types.View
import Annex.View
import Logs.View
-cmd :: [Command]
-cmd = [notBareRepo $ notDirect $
- command "view" paramView seek SectionMetaData "enter a view branch"]
+cmd :: Command
+cmd = notBareRepo $ notDirect $
+ command "view" paramView seek SectionMetaData "enter a view branch"
seek :: CommandSeek
seek = withWords start