rekey, setpresentkey: 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:03:54 -04:00
parent 9bc9421c08
commit 38fc5d3fc7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 44 additions and 24 deletions

View file

@ -12,7 +12,7 @@ import Logs.Location
import Logs.Presence.Pure
cmd :: Command
cmd = noCommit $
cmd = noCommit $ withAnnexOptions [jsonOptions] $
command "setpresentkey" SectionPlumbing
"change records of where key is present"
(paramPair paramKey (paramPair paramUUID "[1|0]"))