Browse Source

Print the ant version when ant is run in verbose mode.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267930 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 25 years ago
parent
commit
b211d1bcbf
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main/org/apache/tools/ant/Main.java

+ 1
- 0
src/main/org/apache/tools/ant/Main.java View File

@@ -140,6 +140,7 @@ public class Main {
} else if (arg.equals("-quiet") || arg.equals("-q")) {
msgOutputLevel = Project.MSG_WARN;
} else if (arg.equals("-verbose") || arg.equals("-v")) {
printVersion();
msgOutputLevel = Project.MSG_VERBOSE;
} else if (arg.equals("-logfile") || arg.equals("-l")) {
try {


Loading…
Cancel
Save