Changeset 28156 for main/trunk/ant-tasks

Show
Ignore:
Timestamp:
26.08.2013 23:20:56 (6 years ago)
Author:
davidb
Message:

Minor tweak to output message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/ant-tasks/src/org/greenstone/anttasks/RegexSearchReplace.java

    r28134 r28156  
    135135 
    136136        if (verbosity == 1) { 
    137             System.out.println( "Regex Search and Replace on File(s): " ); 
     137            if (files.length == 1) { 
     138            System.out.println("Regex Search and Replace on file: "); 
     139            } 
     140            else { 
     141            System.out.println("Regex Search and Replace on files: "); 
     142            } 
    138143        } 
    139144        else if (verbosity > 1) { 
    140145            System.out.println( "File(s): " ); 
    141146        } 
     147 
    142148 
    143149        for ( int fileIndex=0; fileIndex<files.length; fileIndex++ ) {