aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-add.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 11:54:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-19 11:56:38 -0400
commit12b375f583773fc33f9f379d13622cd1892860a4 (patch)
tree15f2cfbc5c9b8b6a4b97503f493cc46f1e46c64e /doc/git-annex-add.mdwn
parentafbce3349b3bd7a97377839892da4118b909068f (diff)
add, import: Support --json output.
Include added key in output.
Diffstat (limited to 'doc/git-annex-add.mdwn')
-rw-r--r--doc/git-annex-add.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-add.mdwn b/doc/git-annex-add.mdwn
index 7f796fec1..382ea1e6f 100644
--- a/doc/git-annex-add.mdwn
+++ b/doc/git-annex-add.mdwn
@@ -54,6 +54,11 @@ annexed content, and other symlinks.
Adds multiple files in parallel. This may be faster.
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.
+
# SEE ALSO
[[git-annex]](1)