diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-30 13:33:35 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-30 13:33:35 -0400 |
commit | ad67cfe65ed387cbc64b2da7dd88603985999882 (patch) | |
tree | 3b491a8a46f66f787c5bc52a7d082fadf140aca7 /Command/Copy.hs | |
parent | cc32ffe05f5b8453ac09f2a12b2a17e41d9d7584 (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.hs | 7 |
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 |