[Skiboot] [PATCH 1/2] external/pflash: move --side and --toc usage text

Cyril Bur cyril.bur at au1.ibm.com
Thu Jun 18 17:08:25 AEST 2015


Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
---
 external/pflash/pflash.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c
index 9244570..2bea98f 100644
--- a/external/pflash/pflash.c
+++ b/external/pflash/pflash.c
@@ -518,6 +518,11 @@ static void print_help(const char *pname)
 #endif
 	printf("\t-b, --bmc\n");
 	printf("\t\tTarget BMC flash instead of host flash\n\n");
+	printf("\t-S, --side\n");
+	printf("\t\tSide of the flash on which to operate, 0 (default) or 1\n\n");
+	printf("\t-T, --toc\n");
+	printf("\t\tlibffs TOC on which to operate, defaults to 0.\n");
+	printf("\t\tleading 0x is required for interpretation of a hex value\n\n");
 	printf(" Commands:\n");
 	printf("\t-4, --enable-4B\n");
 	printf("\t\tSwitch the flash and controller to 4-bytes address\n");
@@ -549,11 +554,6 @@ static void print_help(const char *pname)
 	printf("\t-t, --tune\n");
 	printf("\t\tJust tune the flash controller & access size\n");
 	printf("\t\t(Implicit for all other operations)\n\n");
-	printf("\t-S, --side\n");
-	printf("\t\tSide of the flash on which to operate, 0 (default) or 1\n\n");
-	printf("\t-T, --toc\n");
-	printf("\t\tlibffs TOC on which to operate, defaults to 0.\n");
-	printf("\t\tleading 0x is required for interpretation of a hex value\n\n");
 	printf("\t-i, --info\n");
 	printf("\t\tDisplay some information about the flash.\n\n");
 	printf("\t-h, --help\n");
-- 
2.4.3



More information about the Skiboot mailing list