summaryrefslogtreecommitdiff
path: root/doc/git-annex-whereis.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/git-annex-whereis.mdwn')
-rw-r--r--doc/git-annex-whereis.mdwn17
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