[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1200332116.31521.3.camel@imap.mvista.com>
Date: Mon, 14 Jan 2008 09:35:15 -0800
From: Daniel Walker <dwalker@...sta.com>
To: Andy Whitcroft <apw@...dowen.org>
Cc: Stefan Richter <stefanr@...6.in-berlin.de>,
Bernd Petrovitsch <bernd@...mix.at>,
linux-kernel@...r.kernel.org, Randy Dunlap <rdunlap@...otime.net>,
Joel Schopp <jschopp@...tin.ibm.com>,
Jiri Slaby <jirislaby@...il.com>
Subject: Re: [PATCH] checkpatch.pl: show how to read from stdin
On Mon, 2008-01-14 at 17:17 +0000, Andy Whitcroft wrote:
> On Fri, Jan 11, 2008 at 06:06:35PM +0100, Stefan Richter wrote:
> > Signed-off-by: Stefan Richter <stefanr@...6.in-berlin.de>
> > Acked-by: Jiri Slaby <jirislaby@...il.com>
>
> As an absolute minimum this seems reasonable to me. I guess we could
> make no arguments default to '-' also. There are up and downsides to
> doing that, as currently no arguments currently tell you the usage and
> with this patch would point clearly out the '-' option. Just assuming
> stding would lose easy access to usage, which may actually be more
> confusing for the beginner. Hmmm. Cirtainly will include this
> documentation change if nothing else.
>
The patch that I submitted checks STDIN for piped data, and if there is
any it will default to checking that incoming data .. That's regardless
of the number of arguments given ..
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists