copy, move, mirror: Support --json and --json-progress.

This commit is contained in:
Joey Hess 2016-09-09 16:24:26 -04:00
parent c277a21ece
commit 3e22d60549
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
8 changed files with 36 additions and 4 deletions

View file

@ -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)