From: Benno Schulenberg Date: Sat, 26 Jan 2013 22:21:07 +0000 (+0100) Subject: textual: improve an error message and a help text X-Git-Tag: v2.23-rc1~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b548a8c9895a36bd238fcdca103a1f24aa99bcbf;p=thirdparty%2Futil-linux.git textual: improve an error message and a help text * 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 --- diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c index 5f1a2971ce..4c16ec52df 100644 --- a/disk-utils/isosize.c +++ b/disk-utils/isosize.c @@ -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] \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= divide the amount of bytes by \n"), out); + fputs(_(" -x, --sectors show sector count and size\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out);