summaryrefslogtreecommitdiffstats
path: root/zgrep.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:41:21 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:41:21 +0000
commite2022d72e362b56d5c0336bc2807691708a386e5 (patch)
tree62216eb154658e44e7b57a57c48f0c8dbcbabe6e /zgrep.cc
parentAdding debian version 1.4~pre2-2. (diff)
downloadzutils-e2022d72e362b56d5c0336bc2807691708a386e5.tar.xz
zutils-e2022d72e362b56d5c0336bc2807691708a386e5.zip
Merging upstream version 1.4.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'zgrep.cc')
-rw-r--r--zgrep.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/zgrep.cc b/zgrep.cc
index 0f7bd50..98899cd 100644
--- a/zgrep.cc
+++ b/zgrep.cc
@@ -79,7 +79,7 @@ void show_help()
" -l, --files-with-matches only print names of files containing matches\n"
" -L, --files-without-match only print names of files containing no matches\n"
" -m, --max-count=<n> stop after <n> matches\n"
- " -M, --format=<list> exclude formats not in <list>\n"
+ " -M, --format=<list> process only the formats in <list>\n"
" -n, --line-number print the line number of each line\n"
" -N, --no-rcfile don't read runtime configuration file\n"
" -o, --only-matching show only the part of a line matching <pattern>\n"
@@ -94,7 +94,9 @@ void show_help()
" --bz2=<command> set compressor and options for bzip2 format\n"
" --gz=<command> set compressor and options for gzip format\n"
" --lz=<command> set compressor and options for lzip format\n"
- " --xz=<command> set compressor and options for xz format\n" );
+ " --xz=<command> set compressor and options for xz format\n"
+ "Numbers may be followed by a multiplier: k = kB = 10^3 = 1000,\n"
+ "Ki = KiB = 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc...\n" );
show_help_addr();
}