summaryrefslogtreecommitdiff
path: root/src/path-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-test.cpp')
-rw-r--r--src/path-test.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/path-test.cpp b/src/path-test.cpp
index ce81b8f..30a5e09 100644
--- a/src/path-test.cpp
+++ b/src/path-test.cpp
@@ -111,8 +111,15 @@ main(int argc, const char** argv)
FindInPaths(PathMatchAny(), InList, OutList);
PathList_t::iterator pi;
- for ( pi = OutList.begin(); pi != OutList.end(); pi++ )
- cerr << *pi << endl;
+ if ( false )
+ {
+ for ( pi = OutList.begin(); pi != OutList.end(); pi++ )
+ cerr << *pi << endl;
+ }
+ else
+ {
+ cerr << OutList.size() << ( ( OutList.size() == 1 ) ? " file" : " files" ) << endl;
+ }
cerr << "----------------------------------" << endl;
OutList.clear();