summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-09 16:24:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-09 16:24:26 -0400
commit39cf838d85d378833dd3837ebfd1be881099eb74 (patch)
treed891d668f794dd416c569015934cd0030ef1f962 /Command/Copy.hs
parentf59c5df65b9dab6ff79e2414eea9df6f83ec258e (diff)
copy, move, mirror: Support --json and --json-progress.
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index f48f579ef..56278bde2 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -14,7 +14,7 @@ import Annex.Wanted
import Annex.NumCopies
cmd :: Command
-cmd = withGlobalOptions (jobsOption : annexedMatchingOptions) $
+cmd = withGlobalOptions (jobsOption : jsonOption : jsonProgressOption : annexedMatchingOptions) $
command "copy" SectionCommon
"copy content of files to/from another repository"
paramPaths (seek <--< optParser)