This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Minor cygrunsrv nit: --help should go to stdout, not stderr
- From: Jeremy Bopp <jeremy at bopp dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 28 Nov 2011 22:29:14 -0600
- Subject: Re: Minor cygrunsrv nit: --help should go to stdout, not stderr
- References: <4ED459F2.7020200@gmail.com>
On 11/28/2011 10:05 PM, Daniel Colascione wrote:
> Currently, cygrunsrv --help dumps output to standard error. This
> behavior is a slight annoyance because it results in cygrunsrv --help |
> less not being very helpful. Can cygrunsrv --help dump its output to
> stdout instead?
It's not the first program I've seen behave that way, but it doesn't
seem to be common behavior when explicitly requesting help output like that.
In case you don't know, you can work around it by redirecting stderr to
stdout:
cygrunsrv --help 2>&1 | less
-Jeremy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple