summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-30 13:33:35 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-30 13:33:35 -0400
commitad67cfe65ed387cbc64b2da7dd88603985999882 (patch)
tree3b491a8a46f66f787c5bc52a7d082fadf140aca7 /Command/Copy.hs
parentcc32ffe05f5b8453ac09f2a12b2a17e41d9d7584 (diff)
The last release accidentially removed a number of options from the copy command. (-J, file matching options, etc). These have been added back.
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