nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Exit status when argument is -version


From: Paul Fox
Subject: Re: [Nmh-workers] Exit status when argument is -version
Date: Wed, 06 Jun 2012 12:51:21 -0400

ken wrote:
 > >The exit status of for, example, "sortm -version" or "scan -version"
 > >is not zero. Shouldn't it be. It was in a very old version of nmh,
 > >nmh-1.2-20070115cvs.
 > 
 > AFAICT ... it's always been that way.  We didn't have -version back in
 > MH-6.8.5, but at least as far as our sources go back (1999) -version has
 > always exited with an exit code of 1.
 > 
 > Should it?  I dunno ... what do people think?

it should only return non-zero if the information it reports
is incorrect.  ;-)

paul
=---------------------
 paul fox, address@hidden (arlington, ma, where it's 55.6 degrees)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]