Patchwork [5/6] mtd-utils/nandtest.c: Fixed indentation

login
register
mail settings
Submitter Brian Norris
Date July 8, 2010, 8:50 p.m.
Message ID <1278622209-20149-6-git-send-email-norris@broadcom.com>
Download mbox | patch
Permalink /patch/58299/
State Accepted
Commit 02ae0aac87576d07202a62d11294ea55b56f450b
Headers show

Comments

Brian Norris - July 8, 2010, 8:50 p.m.
Replaced tabs with spaces in the help message for nandtest to
fix problems with varying indentation and to provide consistency
with other utils in the set.

Signed-off-by: Brian Norris <norris@broadcom.com>
---
 nandtest.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
Artem Bityutskiy - July 18, 2010, 7:20 a.m.
On Thu, 2010-07-08 at 13:50 -0700, Brian Norris wrote:
> Replaced tabs with spaces in the help message for nandtest to
> fix problems with varying indentation and to provide consistency
> with other utils in the set.
> 
> Signed-off-by: Brian Norris <norris@broadcom.com>

Pushed, thanks!

Patch

diff --git a/nandtest.c b/nandtest.c
index e31e28a..13e9577 100644
--- a/nandtest.c
+++ b/nandtest.c
@@ -18,13 +18,13 @@ 
 void usage(void)
 {
 	fprintf(stderr, "usage: nandtest [OPTIONS] <device>\n\n"
-		"  -h, --help		Display this help output\n"
-		"  -m, --markbad	Mark blocks bad if they appear so\n"
-		"  -s, --seed		Supply random seed\n"
-		"  -p, --passes		Number of passes\n"
-		"  -o, --offset		Start offset on flash\n"
-		"  -l, --length		Length of flash to test\n"
-		"  -k, --keep		Restore existing contents after test\n");
+		"  -h, --help           Display this help output\n"
+		"  -m, --markbad        Mark blocks bad if they appear so\n"
+		"  -s, --seed           Supply random seed\n"
+		"  -p, --passes         Number of passes\n"
+		"  -o, --offset         Start offset on flash\n"
+		"  -l, --length         Length of flash to test\n"
+		"  -k, --keep           Restore existing contents after test\n");
 	exit(1);
 }