rmurl: Support --json and --json-error-messages
The json does not include an url field, but it does have an input field that is "file url" when using --batch and ["file", "url"] when using the command line. I chose not to change that because it would complicate batchInput. An url field could be added if it turns out to be useful. Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
This commit is contained in:
parent
563d6dcf62
commit
c235488e2d
4 changed files with 13 additions and 3 deletions
|
@ -39,7 +39,7 @@ data LogChange = Added | Removed
|
|||
type Outputter = LogChange -> POSIXTime -> [UUID] -> Annex ()
|
||||
|
||||
cmd :: Command
|
||||
cmd = withAnnexOptions [annexedMatchingOptions] $
|
||||
cmd = withAnnexOptions [jsonOptions, annexedMatchingOptions] $
|
||||
command "log" SectionQuery "shows location log"
|
||||
paramPaths (seek <$$> optParser)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue