Patchwork ubiformat: clean up synopsis of command-line parameters

login
register
mail settings
Submitter Wolfram Sang
Date Dec. 13, 2012, 4:35 p.m.
Message ID <1355416558-21920-1-git-send-email-w.sang@pengutronix.de>
Download mbox | patch
Permalink /patch/206158/
State New
Headers show

Comments

Wolfram Sang - Dec. 13, 2012, 4:35 p.m.
Add -Q and --image-seq, remove double -v

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
 ubi-utils/ubiformat.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Artem Bityutskiy - Jan. 15, 2013, 8:38 a.m.
On Thu, 2012-12-13 at 17:35 +0100, Wolfram Sang wrote:
> Add -Q and --image-seq, remove double -v
> 
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

Pushed to mtd-utils, thanks!

Patch

diff --git a/ubi-utils/ubiformat.c b/ubi-utils/ubiformat.c
index 8f9bd3a..c49af29 100644
--- a/ubi-utils/ubiformat.c
+++ b/ubi-utils/ubiformat.c
@@ -102,10 +102,11 @@  static const char optionsstr[] =
 
 static const char usage[] =
 "Usage: " PROGRAM_NAME " <MTD device node file name> [-s <bytes>] [-O <offs>] [-n]\n"
-"\t\t\t[-f <file>] [-S <bytes>] [-e <value>] [-x <num>] [-y] [-q] [-v] [-h] [-v]\n"
+"\t\t\t[-Q <num>] [-f <file>] [-S <bytes>] [-e <value>] [-x <num>] [-y] [-q] [-v] [-h]\n"
 "\t\t\t[--sub-page-size=<bytes>] [--vid-hdr-offset=<offs>] [--no-volume-table]\n"
 "\t\t\t[--flash-image=<file>] [--image-size=<bytes>] [--erase-counter=<value>]\n"
-"\t\t\t[--ubi-ver=<num>] [--yes] [--quiet] [--verbose] [--help] [--version]\n\n"
+"\t\t\t[--image-seq=<num>] [--ubi-ver=<num>] [--yes] [--quiet] [--verbose]\n"
+"\t\t\t[--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"