migrate, undo: Support --json and --json-error-messages

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
Joey Hess 2023-05-04 16:34:35 -04:00
parent 38fc5d3fc7
commit 1d4bd2dcb8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
7 changed files with 56 additions and 32 deletions

View file

@ -20,7 +20,7 @@ import Logs.Web
import Utility.Metered
cmd :: Command
cmd = withAnnexOptions [backendOption, annexedMatchingOptions] $
cmd = withAnnexOptions [backendOption, annexedMatchingOptions, jsonOptions] $
command "migrate" SectionUtility
"switch data to different backend"
paramPaths (seek <$$> optParser)