aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 18:07:02 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 18:07:02 +0200
commit6ef3fc52bcffd73520da5ecc3cb94d5cc16bdfc0 (patch)
treefb5267b2b6c6435fe83f2ddc905dc79de83668ab
parent238050eeebb0389ecdc5fe3c016194b287a30100 (diff)
ubi-nize: fix output messages
As reported by one of the users there is a missing white-space and unknown abbreviation in the output. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--ubi-utils/new-utils/src/ubi-nize.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ubi-utils/new-utils/src/ubi-nize.c b/ubi-utils/new-utils/src/ubi-nize.c
index 8041df4..532b193 100644
--- a/ubi-utils/new-utils/src/ubi-nize.c
+++ b/ubi-utils/new-utils/src/ubi-nize.c
@@ -75,7 +75,8 @@ static const char *optionsstr =
static const char *usage =
"Usage: " PROGRAM_NAME " [-o filename] [-h] [-V] [--output=<filename>] [--help]\n"
"\t\t[--version] ini-file\n"
-"Example: " PROGRAM_NAME "-o fs.raw cfg.ini";
+"Example: " PROGRAM_NAME " -o ubi.img cfg.ini - create UBI image 'ubi.img' as\n"
+" described by configuration file 'cfg.ini'";
static const char *ini_doc = "INI-file format.\n"
"The input configuration ini-file describes all the volumes which have to\n"
@@ -225,10 +226,10 @@ static int parse_opt(int argc, char * const argv[])
}
if (optind == argc)
- return errmsg("input PFI file was not specified (use -h for help)");
+ return errmsg("input configuration file was not specified (use -h for help)");
if (optind != argc - 1)
- return errmsg("more then one input PFI file was specified (use -h for help)");
+ return errmsg("more then one configuration file was specified (use -h for help)");
args.f_in = argv[optind];