Changeset 28156


Ignore:
Timestamp:
2013-08-26T23:20:56+12:00 (8 years ago)
Author:
davidb
Message:

Minor tweak to output message

File:
1 edited

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++ ) {
Note: See TracChangeset for help on using the changeset viewer.