Re: [PATCH] checkpatch.pl: show how to read from stdin

From: Daniel Walker
Date: Fri Jan 11 2008 - 12:11:06 EST



On Fri, 2008-01-11 at 18:06 +0100, Stefan Richter wrote:
> Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
> Acked-by: Jiri Slaby <jirislaby@xxxxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/