summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index 5c7cad044..51b95b9b5 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -87,6 +87,6 @@ cleanup file key = do
force <- Annex.getState Annex.force
if force
- then AnnexQueue.add "add" [Param "-f", Param "--"] file
- else AnnexQueue.add "add" [Param "--"] file
+ then AnnexQueue.add "add" [Param "-f", Param "--"] [file]
+ else AnnexQueue.add "add" [Param "--"] [file]
return True