summaryrefslogtreecommitdiff
path: root/Command/AddUrl.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/AddUrl.hs')
-rw-r--r--Command/AddUrl.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index fda2a99e0..f009ff388 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -37,10 +37,10 @@ import Annex.Quvi
import qualified Utility.Quvi as Quvi
#endif
-cmd :: [Command]
-cmd = [notBareRepo $ withOptions [fileOption, pathdepthOption, relaxedOption, rawOption] $
+cmd :: Command
+cmd = notBareRepo $ withOptions [fileOption, pathdepthOption, relaxedOption, rawOption] $
command "addurl" (paramRepeating paramUrl) seek
- SectionCommon "add urls to annex"]
+ SectionCommon "add urls to annex"
fileOption :: Option
fileOption = fieldOption [] "file" paramFile "specify what file the url is added to"