summaryrefslogtreecommitdiffstats
path: root/zgrep.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:22 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:22 +0000
commit4be5f39e8c496b68ab3f2a76537a4dbbe0a5a190 (patch)
treefdee42e0b41ce53bfe818a83a2cf18ac504a5809 /zgrep.cc
parentAdding upstream version 1.2. (diff)
downloadzutils-4be5f39e8c496b68ab3f2a76537a4dbbe0a5a190.tar.xz
zutils-4be5f39e8c496b68ab3f2a76537a4dbbe0a5a190.zip
Adding upstream version 1.3~pre1.upstream/1.3_pre1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'zgrep.cc')
-rw-r--r--zgrep.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/zgrep.cc b/zgrep.cc
index 7730067..545f485 100644
--- a/zgrep.cc
+++ b/zgrep.cc
@@ -3,7 +3,7 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -342,7 +342,7 @@ int main( const int argc, const char * const argv[] )
case 'r': recursive = true; break;
case 's': grep_args.push_back( "-s" ); no_messages = true; break;
case 'v': grep_args.push_back( "-v" ); break;
- case 'V': show_version( "Zgrep" ); return 0;
+ case 'V': show_version(); return 0;
case 'w': grep_args.push_back( "-w" ); break;
case 'x': grep_args.push_back( "-x" ); break;
case format_opt : format_index = parse_format_type( arg ); break;
@@ -353,7 +353,7 @@ int main( const int argc, const char * const argv[] )
case gz_opt: parse_compressor( arg, fmt_gz ); break;
case lz_opt: parse_compressor( arg, fmt_lz ); break;
case xz_opt: parse_compressor( arg, fmt_xz ); break;
- default : internal_error( "uncaught option" );
+ default : internal_error( "uncaught option." );
}
} // end process options