Added minimal output to wrap generation

release/4.3a0
Alex Cunningham 2012-07-01 18:00:35 +00:00
parent 20cf1da5a9
commit 9273c3d18c
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ void FileWriter::emit(bool add_header, bool force_overwrite) const {
ofs << new_contents;
ofs.close();
if (verbose_) cerr << " ...complete" << endl;
// Add small message whenever writing a new file and not running in full verbose mode
if (!verbose_)
cout << "wrap: generating " << filename_ << endl;
} else {
if (verbose_) cerr << " ...no update" << endl;
}