summaryrefslogtreecommitdiff
path: root/Command/RegisterUrl.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/RegisterUrl.hs')
-rw-r--r--Command/RegisterUrl.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/RegisterUrl.hs b/Command/RegisterUrl.hs
index 4282db58a..bac5b7740 100644
--- a/Command/RegisterUrl.hs
+++ b/Command/RegisterUrl.hs
@@ -15,10 +15,10 @@ import Logs.Web
import Annex.UUID
import Command.FromKey (mkKey)
-cmd :: [Command]
-cmd = [notDirect $ notBareRepo $
+cmd :: Command
+cmd = notDirect $ notBareRepo $
command "registerurl" (paramPair paramKey paramUrl) seek
- SectionPlumbing "registers an url for a key"]
+ SectionPlumbing "registers an url for a key"
seek :: CommandSeek
seek = withWords start