diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:09:34 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 10:09:34 +0000 |
commit | 72164cf0d95398b5f82d96b9be1f931e06f8627c (patch) | |
tree | 928bd21186c7108845bca89226f712e5f089f9d1 /lzip.h | |
parent | Adding upstream version 1.17. (diff) | |
download | lzip-72164cf0d95398b5f82d96b9be1f931e06f8627c.tar.xz lzip-72164cf0d95398b5f82d96b9be1f931e06f8627c.zip |
Adding upstream version 1.18~pre1.upstream/1.18_pre1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lzip.h')
-rw-r--r-- | lzip.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -115,9 +115,11 @@ class Pretty_print mutable bool first_post; public: - explicit Pretty_print( const std::vector< std::string > & filenames ) + Pretty_print( const std::vector< std::string > & filenames, + const int verbosity ) : stdin_name( "(stdin)" ), longest_name( 0 ), first_post( false ) { + if( verbosity <= 0 ) return; const unsigned stdin_name_len = std::strlen( stdin_name ); for( unsigned i = 0; i < filenames.size(); ++i ) { |