Messages in this thread | | | Subject | Re: [PATCH] checkpatch.pl: show how to read from stdin | From | Daniel Walker <> | Date | Fri, 11 Jan 2008 09:09:03 -0800 |
| |
On Fri, 2008-01-11 at 18:06 +0100, Stefan Richter wrote: > Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> > Acked-by: Jiri Slaby <jirislaby@gmail.com> > --- > scripts/checkpatch.pl | 1 + > 1 file changed, 1 insertion(+) > > Index: linux/scripts/checkpatch.pl > =================================================================== > --- linux.orig/scripts/checkpatch.pl > +++ linux/scripts/checkpatch.pl > @@ -53,6 +53,7 @@ if ($#ARGV < 0) { > print " --file => check a source file\n"; > print " --strict => enable more subjective tests\n"; > print " --root => path to the kernel tree root\n"; > + print "When patchfile is -, read standard input.\n"; > exit(1); > } >
Naww .. Why add documentation when you can just make it do the right thing ..
Daniel
| |