summaryrefslogtreecommitdiffstats
path: root/zgrep.cc
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:28 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:37:28 +0000
commit28aeb43eee402f13bec56cd16c1e075a26211260 (patch)
tree64bf759e5198aa7286899e4c0c6fda02c69ae972 /zgrep.cc
parentAdding debian version 1.2-2. (diff)
downloadzutils-28aeb43eee402f13bec56cd16c1e075a26211260.tar.xz
zutils-28aeb43eee402f13bec56cd16c1e075a26211260.zip
Merging upstream version 1.3~pre1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-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