From 4a5cdd0169a001f4985a652536f4f19530ba94fb Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 30 Jul 2009 23:18:45 +0300 Subject: ubiformat: clean up help output a little Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubiformat.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index a2ca572..3f1f512 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -89,23 +89,21 @@ static const char *optionsstr = "-S, --image-size= bytes in input, if not reading from file\n" "-e, --erase-counter= use as the erase counter value for all\n" " eraseblocks\n" +"-x, --ubi-ver= UBI version number to put to EC headers\n" +" (default is 1)\n" "-y, --yes assume the answer is \"yes\" for all question\n" " this program would otherwise ask\n" "-q, --quiet suppress progress percentage information\n" "-v, --verbose be verbose\n" -"-x, --ubi-ver= UBI version number to put to EC headers\n" -" (default is 1)\n" "-h, -?, --help print help message\n" "-V, --version print program version\n"; static const char *usage = -"Usage: " PROGRAM_NAME " [-h] [-V] [-y] [-q] [-v]\n" -"\t\t\t[-x ] [-E ] [-s ] [-O ] [-n]\n" -"\t\t\t[--help] [--version] [--yes] [--verbose] [--quiet]\n" -"\t\t\t[--ec=] [--vid-hdr-offset=]\n" -"\t\t\t[--ubi-ver=] [--no-volume-table]\n" -"\t\t\t[--flash-image=] [--image-size=]\n\n" - +"Usage: " PROGRAM_NAME " [-s ] [-O ] [-n]\n" +"\t\t\t[-f ] [-S ] [-e ] [-x ] [-y] [-q] [-v] [-h] [-v]\n" +"\t\t\t[--sub-page-size=] [--vid-hdr-offset=] [--no-volume-table]\n" +"\t\t\t[--flash-image=] [--image-size=] [--erase-counter=]\n" +"\t\t\t[--ubi-ver=] [--yes] [--quiet] [--verbose] [--help] [--version]\n\n" "Example 1: " PROGRAM_NAME " /dev/mtd0 -y - format MTD device number 0 and do\n" " not ask questions.\n" "Example 2: " PROGRAM_NAME " /dev/mtd0 -q -e 0 - format MTD device number 0,\n" -- cgit v1.2.3