--json for addcomputed and recompute

Not very useful, but it does work.
This commit is contained in:
Joey Hess 2025-03-17 15:51:43 -04:00
parent 2d60ce4803
commit d74d2d5d91
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 12 additions and 2 deletions

View file

@ -36,7 +36,7 @@ import qualified Data.Map as M
import Data.Time.Clock
cmd :: Command
cmd = notBareRepo $ withAnnexOptions [backendOption] $
cmd = notBareRepo $ withAnnexOptions [backendOption, jsonOptions] $
command "addcomputed" SectionCommon "add computed files to annex"
(paramRepeating paramExpression)
(seek <$$> optParser)