summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-15 12:36:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-15 12:36:27 -0400
commit5c96411314837db235b5cd1d412243806b83aa8a (patch)
tree355948650625d60511e202917973341fbdc50342
parent59fe0b29a6f15a61276702e1594b9476e1363fd9 (diff)
fix synopsis
-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]