diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | raidgrep.1.asciidoc | 7 | 
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 | 
