From 17dfca65fcf62b177d44ee71db66876af2055cda Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Tue, 11 Jul 2023 01:17:51 +0900 Subject: [PATCH 1/6] fix: add --ignore-missing to --help message --- cli/xxhsum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/xxhsum.c b/cli/xxhsum.c index 8df299b1..b32a7835 100644 --- a/cli/xxhsum.c +++ b/cli/xxhsum.c @@ -1082,11 +1082,12 @@ static int XSUM_usage_advanced(const char* exename) XSUM_log( " -i# Number of times to run the benchmark (default: %i) \n", NBLOOPS_DEFAULT); XSUM_log( " -q, --quiet Don't display version header in benchmark mode \n"); XSUM_log( "\n"); - XSUM_log( "The following four options are useful only when verifying checksums (-c): \n"); + XSUM_log( "The following five options are useful only when verifying checksums (-c): \n"); XSUM_log( " -q, --quiet Don't print OK for each successfully verified file \n"); XSUM_log( " --status Don't output anything, status code shows success \n"); XSUM_log( " --strict Exit non-zero for improperly formatted checksum lines \n"); XSUM_log( " --warn Warn about improperly formatted checksum lines \n"); + XSUM_log( " --ignore-missing Don't fail or report status for missing files \n"); return 0; } From bfe162cae0677fa59589697c373a8ac1605c8a50 Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Tue, 11 Jul 2023 01:19:59 +0900 Subject: [PATCH 2/6] fix: add --ignore-missing to xxhsum.1.md --- cli/xxhsum.1.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/xxhsum.1.md b/cli/xxhsum.1.md index 8d9df5d0..8048038d 100644 --- a/cli/xxhsum.1.md +++ b/cli/xxhsum.1.md @@ -74,6 +74,9 @@ OPTIONS * `-w`, `--warn`: Emit a warning message about each improperly formatted checksum line. +* `--ignore-missing`: + Don't fail or report status for missing files. + **The following options are useful only benchmark purpose** * `-b`: From e88af46329cad183a36427eba587e2c259cd8b1f Mon Sep 17 00:00:00 2001 From: Takayuki Matsuoka Date: Tue, 11 Jul 2023 01:21:25 +0900 Subject: [PATCH 3/6] update xxhsum.1 Generate with the following commands: rm cli/xxhsum.1 make man man cli/xxhsum.1 --- cli/xxhsum.1 | 82 +++++++++------------------------------------------- 1 file changed, 13 insertions(+), 69 deletions(-) diff --git a/cli/xxhsum.1 b/cli/xxhsum.1 index e96d9491..18b8e6c0 100644 --- a/cli/xxhsum.1 +++ b/cli/xxhsum.1 @@ -1,165 +1,109 @@ -. -.TH "XXHSUM" "1" "June 2023" "xxhsum 0.8.2" "User Commands" -. +.TH "XXHSUM" "1" "July 2023" "xxhsum 0.8.2" "User Commands" .SH "NAME" \fBxxhsum\fR \- print or check xxHash non\-cryptographic checksums -. .SH "SYNOPSIS" -\fBxxhsum [