Skip to content

Commit 94e5f23

Browse files
authored
Merge pull request #441 from Cyan4973/dev
improved inline help
2 parents 3a322e2 + b9a0ec2 commit 94e5f23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

xxhsum.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ static int usage(const char* exename)
22062206
DISPLAY( "When no filename provided or when '-' is provided, uses stdin as input. \n");
22072207
DISPLAY( "Options: \n");
22082208
DISPLAY( " -H# algorithm selection: 0,1,2 or 32,64,128 (default: %i) \n", (int)g_defaultAlgo);
2209-
DISPLAY( " -c read xxHash sums from [files] and check them \n");
2209+
DISPLAY( " -c, --check read xxHash checksum from [files] and check them \n");
22102210
DISPLAY( " -h, --help display a long help page about advanced options \n");
22112211
return 0;
22122212
}
@@ -2217,10 +2217,11 @@ static int usage_advanced(const char* exename)
22172217
usage(exename);
22182218
DISPLAY( "Advanced :\n");
22192219
DISPLAY( " -V, --version Display version information \n");
2220-
DISPLAY( " --little-endian Display hashes in little endian convention (default: big endian) \n");
2220+
DISPLAY( " --tag Produce BSD-style checksum lines \n");
2221+
DISPLAY( " --little-endian Checksum values use little endian convention (default: big endian) \n");
22212222
DISPLAY( " -b Run benchmark \n");
22222223
DISPLAY( " -b# Bench only algorithm variant # \n");
2223-
DISPLAY( " -i ITERATIONS Number of times to run the benchmark (default: %u) \n", (unsigned)g_nbIterations);
2224+
DISPLAY( " -i# Number of times to run the benchmark (default: %u) \n", (unsigned)g_nbIterations);
22242225
DISPLAY( " -q, --quiet Don't display version header in benchmark mode \n");
22252226
DISPLAY( "\n");
22262227
DISPLAY( "The following four options are useful only when verifying checksums (-c): \n");

0 commit comments

Comments
 (0)