From 04bed02096fc574476886d6494a6a147b5208f6b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 7 Jun 2010 09:42:09 -0600 Subject: dirname: tweak summary wording * doc/coreutils.texi (dirname invocation): Reword to be more precise. * src/dirname.c (usage): Likewise. * THANKS: Update. Reported by Filipus Klutiero, bug 6175. --- src/dirname.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dirname.c') diff --git a/src/dirname.c b/src/dirname.c index 4f18fe955..b6fa5877f 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -48,8 +48,8 @@ Usage: %s NAME\n\ "), program_name, program_name); fputs (_("\ -Print NAME with its trailing /component removed; if NAME contains no /'s,\n\ -output `.' (meaning the current directory).\n\ +Output NAME with its last non-slash component and trailing slashes removed;\n\ +if NAME contains no /'s, output `.' (meaning the current directory).\n\ \n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); @@ -57,7 +57,7 @@ output `.' (meaning the current directory).\n\ printf (_("\ \n\ Examples:\n\ - %s /usr/bin/sort Output \"/usr/bin\".\n\ + %s /usr/bin/ Output \"/usr\".\n\ %s stdio.h Output \".\".\n\ "), program_name, program_name); -- cgit v1.2.3-54-g00ecf