From d89b1efccda7c5410fce1a1cf0c1e485bb1e9527 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 8 Jun 2020 00:33:16 +0200 Subject: update manpage & changelog for --check --- CHANGELOG.md | 3 +++ raidgrep.1.asciidoc | 7 +++++++ 2 files changed, 10 insertions(+) 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 -- cgit v1.2.3