]> www.infradead.org Git - mtd-utils.git/commitdiff
ubi-nize: fix output messages
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 19 Feb 2008 16:07:02 +0000 (18:07 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 19 Feb 2008 16:07:02 +0000 (18:07 +0200)
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>
ubi-utils/new-utils/src/ubi-nize.c

index 8041df4c9ebd06912f31dfe80d24c3cff2d028e2..532b19343a427a5b59c2c353b6829821870d604f 100644 (file)
@@ -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];