diff options
author | Jim Meyering <jim@meyering.net> | 2000-01-24 13:58:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-01-24 13:58:38 +0000 |
commit | 06eee4e253915d3a53ecc44f85bc7fcf02d1bce2 (patch) | |
tree | aba42e0657021c4b07d431db2bedc156bde11be7 | |
parent | efa9563f3d0b78f1fe29654c9b197c3bd6412d97 (diff) | |
download | coreutils-06eee4e253915d3a53ecc44f85bc7fcf02d1bce2.tar.xz |
(usage): Describe behavior when LINK_NAME is omitted.
From Michael Stone.
-rw-r--r-- | src/ln.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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\ |