Well, we need to be sure it needs fixing :) This may sound silly but -projecthelp -verbose is more informative than the default listing, so the quiet listing should be less informative. The issue is how much less informative
----- Original Message ----- From: "Loïc Péron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Loïc Péron" <[EMAIL PROTECTED]> Sent: Friday, March 07, 2003 05:36 Subject: [PATCH] [17471] -projecthelp does not work with -quiet > > Hi all, > > As stated in http://issues.apache.org/bugzilla/show_bug.cgi?id=17471 > > -- quote bug 17471 > > When invoked using -projecthelp -quiet, ant does not show anything. > This seems like a bug, as using -projecthelp is to get some info. > > The source of this behaviour is in the use of project.log(String) > inside the -projecthelp execution, which defaults to MSG_INFO level. > When -quiet is used, MSG_INFO messages are simply not shown. > > To achieve the desired effect, project.log(String, msgOutputLevel) > should be used, msgOutputLevel being the instance variable in Main > which is used to filter out messages, thus always displaying info. > > The different methods employed for -projecthelp handling being static, > one of two things must be done: > . promote these methods to instance methods > . pass msgOutputLevel as an argument to these methods > > I did try both, and both function, but the first one is much less > intrusive to the code, as can be seen in the provided patches. In > either case, the changes are really minor an shoud not have any side > effect. > > -- end quote > > Would it be possible to address this little point in the next release? > > Thanks. > > -- > Loïc Péron > > phone:(33) 683 880 177 > mailto:[EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >