]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: improve an error message and a help text
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 26 Jan 2013 22:21:07 +0000 (23:21 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 30 Jan 2013 15:06:23 +0000 (16:06 +0100)
* disk-utils/isosize.c: Improve grammar of error message, and in the
help text make use of the standard angular brackets for arguments.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/isosize.c

index 5f1a2971cec085dca14727772f5b4433f6228f1d..4c16ec52df23b6438e47e01f7af93ebfaca07bc3 100644 (file)
@@ -133,7 +133,7 @@ static void isosize(char *filenamep, int xflag, long divisor)
        if ((fd = open(filenamep, O_RDONLY)) < 0)
                err(EXIT_FAILURE, _("cannot open %s"), filenamep);
        if (is_iso(fd))
-               warnx(_("%s: might not be iso file system"), filenamep);
+               warnx(_("%s: might not be an ISO filesystem"), filenamep);
 
        if (lseek(fd, 16 << 11, 0) == (off_t) - 1)
                err(EXIT_FAILURE, _("seek error on %s"), filenamep);
@@ -165,11 +165,11 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
 {
        fputs(USAGE_HEADER, out);
        fprintf(out,
-               _(" %s [options] iso9660_image_file\n"),
+               _(" %s [options] <iso9660_image_file>\n"),
                program_invocation_short_name);
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -d, --divisor=NUM      divide bytes NUM\n"), out);
-       fputs(_(" -x, --sectors          show sector count and size\n"), out);
+       fputs(_(" -d, --divisor=<number>  divide the amount of bytes by <number>\n"), out);
+       fputs(_(" -x, --sectors           show sector count and size\n"), out);
        fputs(USAGE_SEPARATOR, out);
        fputs(USAGE_HELP, out);
        fputs(USAGE_VERSION, out);