diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-09 15:06:54 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-09 15:06:54 -0400 |
commit | 2408f5c6084aa04a09b36edcd264ce6bc7177c93 (patch) | |
tree | c745dce52ab6510948402eb1585b13718b39da3e /doc/git-annex-get.mdwn | |
parent | 8f8a17cf1855d809bf3655a3e4e9351b3850d3f2 (diff) |
addurl, get: Added --json-progress option, which adds progress objects to the json output.
This doesn't work right when used with -J yet, and there is some really
ugly hand-crafting of part of the json output.
Diffstat (limited to 'doc/git-annex-get.mdwn')
-rw-r--r-- | doc/git-annex-get.mdwn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/git-annex-get.mdwn b/doc/git-annex-get.mdwn index 73975a9bb..f30ee49e1 100644 --- a/doc/git-annex-get.mdwn +++ b/doc/git-annex-get.mdwn @@ -86,7 +86,7 @@ or transferring them from some kind of key-value store. displayed. If the specified file's content is already present, or it is not an annexed file, a blank line is output in response instead. - Since the usual progress output while getting a file is verbose and not + Since the usual output while getting a file is verbose and not machine-parseable, you may want to use --json in combination with --batch. @@ -95,6 +95,10 @@ or transferring them from some kind of key-value store. Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object. +* `--json-progress` + + Include progress objects in JSON output. + # SEE ALSO [[git-annex]](1) |