From 6ef3fc52bcffd73520da5ecc3cb94d5cc16bdfc0 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 19 Feb 2008 18:07:02 +0200 Subject: 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 --- ubi-utils/new-utils/src/ubi-nize.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ubi-utils') 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=] [--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]; -- cgit v1.2.3