From: Jim Freeze Date: 2005-09-10T04:14:25+09:00 Subject: Re: [QUIZ] NDiff (#46) On 9/9/05, Jacob Fugal wrote: > > Thanks, Jim! I'd actually been trying to use CommandLine::Application, > but was having some problems. Comparing what I had against this let me > see where my problems were. Great. Glad to have helped. Any feedback to improve CommandLine is always appreciated. > > A little note, I did not understand "just exit code" for -q. What is > > '-q' supposed > > to do. No output at all? > > Yes, as in "no output to STDOUT". But there is output: the exit code. > This is a common feature of many unix tools (e.g. diff[1], grep). It > allows the tool to be used in a boolean environment during shell > scripting. An exit code of 0 means there was no difference (within > tolerance), and a non-zero exit code means there was a difference. Ok, thanks for that explanation. I probably would have called it "--boolean" instead of --quiet. I always think of quiet as no verbosity, but I could be just un-informed on this one. -- Jim Freeze