copy, move, mirror: Support --json and --json-progress.
This commit is contained in:
parent
c277a21ece
commit
3e22d60549
8 changed files with 36 additions and 4 deletions
|
@ -17,7 +17,7 @@ import Annex.NumCopies
|
|||
import Types.Transfer
|
||||
|
||||
cmd :: Command
|
||||
cmd = withGlobalOptions ([jobsOption] ++ annexedMatchingOptions) $
|
||||
cmd = withGlobalOptions (jobsOption : jsonOption : jsonProgressOption : annexedMatchingOptions) $
|
||||
command "mirror" SectionCommon
|
||||
"mirror content of files to/from another repository"
|
||||
paramPaths (seek <--< optParser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue