Changeset 50

Show
Ignore:
Timestamp:
01/10/05 15:05:19 (19 years ago)
Author:
wagi
Message:

- Enable verbose only on request (argp parsing)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freebob/src/ieee1394service.cpp

    r43 r50  
    136136        rom1394_directory romDir; 
    137137        rom1394_get_directory( m_handle, iNodeId, &romDir ); 
    138         printRomDirectory( iNodeId, &romDir ); 
     138        if ( pMainArguments->verbose ) { 
     139            printRomDirectory( iNodeId, &romDir ); 
     140        } 
    139141 
    140142        switch (rom1394_get_node_type( &romDir )) { 
     
    150152            debugPrint( DEBUG_LEVEL_INFO, 
    151153                        "Node %d has node type AVC\n", iNodeId ); 
    152             printAvcUnitInfo( iNodeId ); 
     154 
     155            if ( pMainArguments->verbose ) { 
     156                printAvcUnitInfo( iNodeId ); 
     157            } 
    153158 
    154159            if ( avc1394_check_subunit_type( m_handle, iNodeId,