summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index 6967c2f93..08c95369b 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -14,8 +14,9 @@ import qualified Remote
import Annex.Wanted
def :: [Command]
-def = [withOptions Command.Move.options $ command "copy" paramPaths seek
- "copy content of files to/from another repository"]
+def = [notDirect $
+ withOptions Command.Move.options $ command "copy" paramPaths seek
+ "copy content of files to/from another repository"]
seek :: [CommandSeek]
seek = [withField Command.Move.toOption Remote.byName $ \to ->