fix: Support --json and --json-error-messages

And triaged out some commands that don't need to support these options.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
Joey Hess 2023-05-04 14:28:21 -04:00
parent 46c7c30140
commit f20c8b087e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 39 additions and 16 deletions

View file

@ -26,7 +26,7 @@ import Utility.Touch
#endif
cmd :: Command
cmd = noCommit $ withAnnexOptions [annexedMatchingOptions] $
cmd = noCommit $ withAnnexOptions [annexedMatchingOptions, jsonOptions] $
command "fix" SectionMaintenance
"fix up links to annexed content"
paramPaths (withParams seek)