summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Command.hs2
-rw-r--r--Command/AddUrl.hs3
2 files changed, 4 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs
index 75c3b4412..710f36ea3 100644
--- a/Command.hs
+++ b/Command.hs
@@ -221,6 +221,8 @@ paramKey :: String
paramKey = "KEY"
paramDesc :: String
paramDesc = "DESC"
+paramUrl :: String
+paramUrl = "URL"
paramNumber :: String
paramNumber = "NUMBER"
paramRemote :: String
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index b4e3ad9bd..c78569ffc 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -28,7 +28,8 @@ import Utility.Path
import Utility.Conditional
command :: [Command]
-command = [repoCommand "addurl" paramPath seek "add urls to annex"]
+command = [repoCommand "addurl" (paramRepeating $ paramUrl) seek
+ "add urls to annex"]
seek :: [CommandSeek]
seek = [withStrings start]