summaryrefslogtreecommitdiffstats
path: root/zgrep.cc
diff options
context:
space:
mode:
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