From 06eee4e253915d3a53ecc44f85bc7fcf02d1bce2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Jan 2000 13:58:38 +0000 Subject: [PATCH] (usage): Describe behavior when LINK_NAME is omitted. From Michael Stone. --- src/ln.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ln.c b/src/ln.c index 671016a..005c949 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\ -- 2.7.4