From b548a8c9895a36bd238fcdca103a1f24aa99bcbf Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 26 Jan 2013 23:21:07 +0100 Subject: 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 --- disk-utils/isosize.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'disk-utils/isosize.c') diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c index 5f1a2971c..4c16ec52d 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); -- cgit v1.2.3-55-g7522