On Friday 04 May 2007 11:39:21 Joel Andres Granados wrote:
How about a verbose option "-v"? On the one hand it is very useful for the impatient user that needs some sort of immediate feedback. on the other hand it could be useful for other applications that might need to analyze pungis output (like revisor). The idea is to have the option off by defect and when the user specifies "-v" at the command line, all the logging information is showed. With the output I did a very simple progress bar and every thing seem to work correctly (the progress bar example is not attached, it works but its not pretty :). The verbose option contains the logging patch I posted earlier.
I like the idea, but I think a verbose mode should both echo to the cli as well as log to the file.