aboutsummaryrefslogtreecommitdiff
path: root/raidgrep.1.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'raidgrep.1.asciidoc')
-rw-r--r--raidgrep.1.asciidoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/raidgrep.1.asciidoc b/raidgrep.1.asciidoc
index 584713e..7cb3f38 100644
--- a/raidgrep.1.asciidoc
+++ b/raidgrep.1.asciidoc
@@ -231,6 +231,13 @@ Any options given in this mode will apply to the whole REPL session. For
example, if started with *-l*, all REPL evaluations will only print the file
names of the matching files.
+== EXIT STATUS
+
+raidgrep will exit with status 0 (success) if at least one matching log was
+found, with status 1 if no logs were found and status 2 if there was an error.
+
+If used with the REPL mode, raidgrep will always exit with status 0.
+
== EXAMPLES
The following are examples of predicates as they might be entered in the REPL.