summaryrefslogtreecommitdiff
path: root/doc/git-annex-import.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-import.mdwn
parentafbce3349b3bd7a97377839892da4118b909068f (diff)
add, import: Support --json output.
Include added key in output.
Diffstat (limited to 'doc/git-annex-import.mdwn')
-rw-r--r--doc/git-annex-import.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-import.mdwn b/doc/git-annex-import.mdwn
index ca37b81eb..d0ac5e77f 100644
--- a/doc/git-annex-import.mdwn
+++ b/doc/git-annex-import.mdwn
@@ -71,6 +71,11 @@ Several options can be used to adjust handling of duplicate files.
Imports 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.
+
# CAVEATS
Note that using `--deduplicate` or `--clean-duplicates` with the WORM