diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-20 12:46:00 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-20 12:46:00 -0400 |
commit | 7b5ddc7a4e972cfa3d14fbefc6610fddbfcff4b7 (patch) | |
tree | d5eb70b0659e897349b79e6674d5c201d192faa0 /doc/git-annex-whereis.mdwn | |
parent | c5f532e7d7a13ed9f43fe9d50a1dc6521afce4f2 (diff) |
whereis --batch
Diffstat (limited to 'doc/git-annex-whereis.mdwn')
-rw-r--r-- | doc/git-annex-whereis.mdwn | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/git-annex-whereis.mdwn b/doc/git-annex-whereis.mdwn index ed77ad7fa..4611468ba 100644 --- a/doc/git-annex-whereis.mdwn +++ b/doc/git-annex-whereis.mdwn @@ -22,11 +22,6 @@ For example: # OPTIONS -* `--json` - - Enable JSON output. This is intended to be parsed by programs that use - git-annex. Each line of output is a JSON object. - * file matching options The [[git-annex-matching-options]](1) @@ -44,6 +39,18 @@ For example: Show whereis information for files found by last run of git-annex unused. +* `--json` + + Enable JSON output. This is intended to be parsed by programs that use + git-annex. Each line of output is a JSON object. + +* `--batch` + + Enables batch mode, in which a file is read in a line from stdin, + its information displayed, and repeat. + + Note that if the file is not an annexed file, an empty line will be + output instead. # SEE ALSO |