Re: [hackers] [dwm][PATCH] Do not call die() upon '-v' invocation

From: Ali H. Fardan <raiz_AT_firemail.cc>
Date: Fri, 28 Oct 2016 13:05:48 +0000

On 2016-10-28 13:02, Quentin Rameau wrote:
> On Fri, Oct 28, 2016 at 12:45:14PM +0000, Ali H. Fardan wrote:
>> actually, imo, I think
>> usage() should return success.
> Surely not.
> The call to usage() is made when wrong options have been passed to the
> tool, you wouldn't return “no error” code when there actually has been
> an error.

How could a script test if 'foo' is compiled correctly and runs without
any missing shared libraries? if such a thing existed it will return 1>
else, 0 is returned, the program still works fine, you just didn't give
it the right arguments.

---
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
Received on Fri Oct 28 2016 - 15:05:48 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 28 2016 - 15:12:18 CEST