summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-06-07 09:42:09 -0600
committerEric Blake <eblake@redhat.com>2010-06-08 04:28:19 -0600
commit04bed02096fc574476886d6494a6a147b5208f6b (patch)
tree0117a78b4afdee1918f660517d541411069d763f /src
parentdfad4755caaefc56b5784fe59c18aa028543cae6 (diff)
downloadcoreutils-04bed02096fc574476886d6494a6a147b5208f6b.tar.xz
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.
Diffstat (limited to 'src')
-rw-r--r--src/dirname.c6
1 files changed, 3 insertions, 3 deletions
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);