Ignore:
Timestamp:
Feb 3, 2014, 4:42:14 PM (11 years ago)
Author:
s10k
Message:

XmlTools2
added --no-verbose mode
The insertion of xml via patch now support multiple nodes inside <xml></xml> tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XmlTools2/trunk/utilxmltools.cpp

    r920 r923  
    4343}
    4444
    45 void backupFile(const QString &file){
     45void backupFile(const QString &file, bool verboseEnabled){
    4646    if(!QFile::exists(file+".bak")){
    4747        if(!Util::backupFile(file)){
     
    5151    }
    5252    else{
    53         std::cout << "Backup file '" << file.toLatin1().constData() << "'' already exists. Skipping..." << std::endl;
     53        if(verboseEnabled){
     54            std::cout << "Backup file '" << file.toLatin1().constData() << "'' already exists. Skipping..." << std::endl;
     55        }
    5456    }
    5557}
Note: See TracChangeset for help on using the changeset viewer.