[darcs-devel] [darcs #309] Re: [darcs-users] Send "darcs help" output to STDOUT

Tomasz Zielonka via RT bugs at darcs.net
Sat Apr 2 12:50:41 PST 2005


Sat Apr 02 15:50:36 2005: New ticket: 309.
Transaction: Ticket created by tomasz
       Queue: Darcs
     Subject: Re: [darcs-users] Send "darcs help" output to STDOUT
       Owner: Nobody
  Requestors: tomasz.zielonka at gmail.com
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=309 >

On Fri, Apr 01, 2005 at 11:00:12PM -0800, Michael G Schwern wrote:
> A)  Make "darcs help" a real command (already sent out a bug on this) and
> thus the usage output is no longer an error but the proper result and can
> go to STDOUT without violating the above reasoning that errors should go
> to STDERR.

I agree with that...

> B)  Go one step further and make the usage information *always* go to
> STDOUT even for "darcs wifflebingbobwoo" because in this case there's
> nothing on STDOUT anyway.

but not this! There nothing on STDOUT on purpuse! Would you like darcs
to finish with exit code 0 too?

Best regards
Tomasz





More information about the darcs-devel mailing list