aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-06-08 00:33:16 +0200
committerDaniel <kingdread@gmx.de>2020-06-08 00:33:16 +0200
commitd89b1efccda7c5410fce1a1cf0c1e485bb1e9527 (patch)
treee83e4d2a772f4c2dee8ee973b700a6b550c42555
parent120d650b1d7dc9eeabcc287d6d27c564e818834f (diff)
downloadraidgrep-d89b1efccda7c5410fce1a1cf0c1e485bb1e9527.tar.gz
raidgrep-d89b1efccda7c5410fce1a1cf0c1e485bb1e9527.tar.bz2
raidgrep-d89b1efccda7c5410fce1a1cf0c1e485bb1e9527.zip
update manpage & changelog for --check
-rw-r--r--CHANGELOG.md3
-rw-r--r--raidgrep.1.asciidoc7
2 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbe6001..6ed88c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,9 @@
All notable changes to this project will be documented in this file.
## Unreleased
+### Added
+- The `--check` command line argument to check a single file.
+
### Changed
- The exit code will now be dependent on whether logs matching the filter were
found or not.
diff --git a/raidgrep.1.asciidoc b/raidgrep.1.asciidoc
index 7cb3f38..fc54f35 100644
--- a/raidgrep.1.asciidoc
+++ b/raidgrep.1.asciidoc
@@ -48,6 +48,13 @@ command line:
*-d* 'path', *--dir* 'path'::
Path to the folder with logs [default: .]
+*-c* 'file', *--check* 'file'::
+ Check the given log file only. +
+ +
+ If this option is given, the given file will be checked against the given
+ filter. This does not produce any output, will will set the exit code
+ accordingly (see section 'EXIT STATUS').
+
*-s* 'sorting', *--sort* 'sorting'::
Sort the output according to the given fields. Valid fields are 'boss',
'date', 'cm' and 'outcome'. Fields can be comma-separated, then later