summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index 1c817f67c..77711f05b 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -15,9 +15,10 @@ import Annex.Wanted
import Annex.NumCopies
cmd :: Command
-cmd = command "copy" SectionCommon
- "copy content of files to/from another repository"
- paramPaths (seek <--< optParser)
+cmd = withGlobalOptions (jobsOption : annexedMatchingOptions) $
+ command "copy" SectionCommon
+ "copy content of files to/from another repository"
+ paramPaths (seek <--< optParser)
data CopyOptions = CopyOptions
{ moveOptions :: Command.Move.MoveOptions