diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-06-26 13:40:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-06-26 13:40:57 -0400 |
commit | 8ac594f37dfedd0bd6f2bb1b45c8f472b31c66cd (patch) | |
tree | 8d28c9c8f08a3f131cc88ff3ce67eb193401839d /doc/git-annex-fsck.mdwn | |
parent | c3c705fe7f5c04e8d2c065066e6f544f8dffafe1 (diff) |
fsck: Support --json.
One use case is to get a list of files that fsck fails on, in order to eg,
drop them from a remote.
This commit was sponsored by Nick Daly on Patreon.
Diffstat (limited to 'doc/git-annex-fsck.mdwn')
-rw-r--r-- | doc/git-annex-fsck.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-fsck.mdwn b/doc/git-annex-fsck.mdwn index 2500ba977..a320bb8a3 100644 --- a/doc/git-annex-fsck.mdwn +++ b/doc/git-annex-fsck.mdwn @@ -93,6 +93,11 @@ With parameters, only the specified files are checked. Runs multiple fsck jobs in parallel. For example: `-J4` +* `--json` + + Enable JSON output. This is intended to be parsed by programs that use + git-annex. Each line of output is a JSON object. + # OPTIONS # SEE ALSO |