add a warning about --json not being self describing

It was a mistake for mirror to support --json, but that happened long
ago and it doesn't seem worth removing. I doubt anyone will use it.
This commit is contained in:
Joey Hess 2023-06-29 15:38:37 -04:00
parent e1fc9e204e
commit 86ea4356af
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -73,6 +73,9 @@ contents. Use [[git-annex-sync]](1) for that.
Enable JSON output. This is intended to be parsed by programs that use
git-annex. Each line of output is a JSON object.
Note that unlike all other commands that support `--json`, this command
outputs different types of json objects in different circumstances.
* `--json-progress`
Include progress objects in JSON output.