aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-lock.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 14:44:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 14:44:11 -0400
commitdc1c08d474518234642ce78935d8835ff847cf35 (patch)
tree555c911001c3eab044af3926d3004a96a23a5eec /doc/git-annex-lock.mdwn
parentbf94d1eed92349527f8ad9d77347e411cbd8c3c4 (diff)
unlock, lock: Support --json.
Diffstat (limited to 'doc/git-annex-lock.mdwn')
-rw-r--r--doc/git-annex-lock.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-lock.mdwn b/doc/git-annex-lock.mdwn
index b9e5d3450..cf4910b95 100644
--- a/doc/git-annex-lock.mdwn
+++ b/doc/git-annex-lock.mdwn
@@ -18,6 +18,11 @@ the files any longer, or have made modifications you want to discard.
The [[git-annex-matching-options]](1)
can be used to specify files to lock.
+* `--json`
+
+ Enable JSON output. This is intended to be parsed by programs that use
+ git-annex. Each line of output is a JSON object.
+
# SEE ALSO
[[git-annex]](1)