summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-09 20:44:16 +0000
committerJim Meyering <jim@meyering.net>1993-10-09 20:44:16 +0000
commit87372cd3aefb4154d9096a491700576d551abd1f (patch)
tree152f4b579d8b9b064d01fbd009795771098e5410 /src/ln.c
parent4ab2d8f53aa7198e41d0e4e0e94055dc1f6e31ba (diff)
downloadcoreutils-87372cd3aefb4154d9096a491700576d551abd1f.tar.gz
coreutils-87372cd3aefb4154d9096a491700576d551abd1f.tar.bz2
coreutils-87372cd3aefb4154d9096a491700576d551abd1f.zip
merge with 3.8.3e
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ln.c b/src/ln.c
index 05137f924..e86c600ee 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -353,14 +353,14 @@ static void
usage (status)
int status;
{
- fprintf (stderr, "\
+ fprintf (status == 0 ? stdout : stderr, "\
Usage: %s [OPTION]... SOURCE [DEST]\n\
or: %s [OPTION]... SOURCE... DIRECTORY\n\
\n",
program_name, program_name);
if (status == 0)
- fprintf (stderr, "\
+ fprintf (stdout, "\
-b, --backup make backups for removed files\n\
-d, -F, --directory hard link directories (super-user only)\n\
-f, --force remove existing destinations\n\
@@ -369,8 +369,8 @@ Usage: %s [OPTION]... SOURCE [DEST]\n\
-v, --verbose print name of each file before linking\n\
-S, --suffix SUFFIX override the usual backup suffix\n\
-V, --version-control WORD override the usual version control\n\
- --help provide this help\n\
- --version show program version\n\
+ --help display this help and exit\n\
+ --version output version information and exit\n\
\n\
The backup suffix is ~, unless set with SIMPLE_BACKUP_SUFFIX. The\n\
version control may be set with VERSION_CONTROL, values are:\n\