summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-24 13:58:38 +0000
committerJim Meyering <jim@meyering.net>2000-01-24 13:58:38 +0000
commit06eee4e253915d3a53ecc44f85bc7fcf02d1bce2 (patch)
treeaba42e0657021c4b07d431db2bedc156bde11be7 /src/ln.c
parentefa9563f3d0b78f1fe29654c9b197c3bd6412d97 (diff)
downloadcoreutils-06eee4e253915d3a53ecc44f85bc7fcf02d1bce2.tar.xz
(usage): Describe behavior when LINK_NAME is omitted.
From Michael Stone.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ln.c b/src/ln.c
index 671016aa7..005c949c6 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -338,10 +338,12 @@ Usage: %s [OPTION]... TARGET [LINK_NAME]\n\
"),
program_name, program_name, program_name);
printf (_("\
-Create a link to the specified TARGET with optional LINK_NAME. If there is\n\
-more than one TARGET, the last argument must be a directory; create links\n\
-in DIRECTORY to each TARGET. Create hard links by default, symbolic links\n\
-with --symbolic. When creating hard links, each TARGET must exist.\n\
+Create a link to the specified TARGET with optional LINK_NAME.\n\
+If LINK_NAME is omitted, a link with the same basename as the TARGET is\n\
+created in the current directory. When using the second form with more\n\
+than one TARGET, the last argument must be a directory; create links\n\
+in DIRECTORY to each TARGET. Create hard links by default, symbolic\n\
+links with --symbolic. When creating hard links, each TARGET must exist.\n\
\n\
-b, --backup[=CONTROL] make a backup of each existing destination file\n\
-d, -F, --directory hard link directories (super-user only)\n\