Ignore:
Timestamp:
10/02/2010 19:01:12 (2 years ago)
Author:
chris
Message:

Log more detailed info about backup comparison failures, for debugging.

Enable -V option in bbackupquery, and document that -q, -v, -V and
-W<level> are allowed in the command-line help.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupquery/bbackupquery.cpp

    r2493 r2604  
    6161void PrintUsageAndExit() 
    6262{ 
    63         printf("Usage: bbackupquery [-q] [-w] " 
     63        printf("Usage: bbackupquery [-q*|v*|V|W<level>] [-w] " 
    6464#ifdef WIN32 
    6565        "[-u] " 
     
    124124 
    125125#ifdef WIN32 
    126         const char* validOpts = "qvwuc:l:o:O:W:"; 
     126        const char* validOpts = "qvVwuc:l:o:O:W:"; 
    127127        bool unicodeConsole = false; 
    128128#else 
    129         const char* validOpts = "qvwc:l:o:O:W:"; 
     129        const char* validOpts = "qvVwc:l:o:O:W:"; 
    130130#endif 
    131131 
     
    139139                switch(c) 
    140140                { 
    141                         case 'q': 
     141                case 'q': 
    142142                        { 
    143143                                if(masterLevel == Log::NOTHING) 
     
    152152                        break; 
    153153 
    154                         case 'v': 
     154                case 'v': 
    155155                        { 
    156156                                if(masterLevel == Log::EVERYTHING) 
     
    162162                                } 
    163163                                masterLevel++; 
     164                        } 
     165                        break; 
     166 
     167                case 'V': 
     168                        { 
     169                                masterLevel = Log::EVERYTHING; 
    164170                        } 
    165171                        break; 
Note: See TracChangeset for help on using the changeset viewer.