nmh-workers
[Top] [All Lists]

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

2012-06-06 11:51:41

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, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 55.6 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>