summaryrefslogtreecommitdiff
path: root/Command/AddUrl.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-10-14 14:20:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-10-14 14:20:10 -0400
commit5a3f41a50d1fd94a18fcced49722f3087e36aec6 (patch)
treea053b3ce52c8d6693ef3f70b188a818cfc89dc85 /Command/AddUrl.hs
parent9f5b8638a990f8d163afaf62e15331515fdcb21f (diff)
doh't use "def" for command definitions, it conflicts with Data.Default.def
Diffstat (limited to 'Command/AddUrl.hs')
-rw-r--r--Command/AddUrl.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index 87711663c..81da67639 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -32,8 +32,8 @@ import Annex.Quvi
import qualified Utility.Quvi as Quvi
#endif
-def :: [Command]
-def = [notBareRepo $ withOptions [fileOption, pathdepthOption, relaxedOption] $
+cmd :: [Command]
+cmd = [notBareRepo $ withOptions [fileOption, pathdepthOption, relaxedOption] $
command "addurl" (paramRepeating paramUrl) seek
SectionCommon "add urls to annex"]