summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-01-04 01:06:10 +0000
committerPádraig Brady <P@draigBrady.com>2009-01-05 00:01:21 +0000
commit972967903de659ed0aa367913f131855f8f72835 (patch)
tree39e18262ec9c0df873724450eead37ad9c8910c1 /src
parente0035fa4eba4a1c7fa49b27e704c177f1dfcd534 (diff)
downloadcoreutils-972967903de659ed0aa367913f131855f8f72835.tar.xz
doc: pathchk description enhancements
* doc/coreutils.texi (pathchk invocation): Mention pathchk checks validity (for current system) as well as portability. Say messages go to stderr, and reorder description of checks done for the -p option, to match what's done in code. * src/pathchk.c (usage): Mention pathchk checks name validity. Suggested clarifications were from Dan Jacobson.
Diffstat (limited to 'src')
-rw-r--r--src/pathchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c
index 3b2bd467b..5dbc7da68 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -96,7 +96,7 @@ usage (int status)
{
printf (_("Usage: %s [OPTION]... NAME...\n"), program_name);
fputs (_("\
-Diagnose unportable constructs in NAME.\n\
+Diagnose invalid or unportable file names.\n\
\n\
-p check for most POSIX systems\n\
-P check for empty names and leading \"-\"\n\