summaryrefslogtreecommitdiff
path: root/Command/VAdd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/VAdd.hs')
-rw-r--r--Command/VAdd.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/VAdd.hs b/Command/VAdd.hs
index ea98e6639..478eab098 100644
--- a/Command/VAdd.hs
+++ b/Command/VAdd.hs
@@ -12,9 +12,9 @@ import Command
import Annex.View
import Command.View (checkoutViewBranch)
-cmd :: [Command]
-cmd = [notBareRepo $ notDirect $ command "vadd" (paramRepeating "FIELD=GLOB")
- seek SectionMetaData "add subdirs to current view"]
+cmd :: Command
+cmd = notBareRepo $ notDirect $ command "vadd" (paramRepeating "FIELD=GLOB")
+ seek SectionMetaData "add subdirs to current view"
seek :: CommandSeek
seek = withWords start