diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-13 14:25:30 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-13 14:25:30 -0400 |
commit | c747c8e423afe272dcf045abf3f1e8c1f6985e5c (patch) | |
tree | 2521170766eeee800de45895cd1df6bb73d3afcd /doc/git-annex-addurl.mdwn | |
parent | 0271693312df2134693562396bd6dd77b32c5e63 (diff) |
addurl: Support --json, particularly useful in --batch mode.
Diffstat (limited to 'doc/git-annex-addurl.mdwn')
-rw-r--r-- | doc/git-annex-addurl.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-addurl.mdwn b/doc/git-annex-addurl.mdwn index 20cec9259..991dc5f99 100644 --- a/doc/git-annex-addurl.mdwn +++ b/doc/git-annex-addurl.mdwn @@ -83,6 +83,11 @@ be used to get better filenames. content if the file does not yet exist; the same as `git annex addurl $url --file $file` +* `--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) |