From: Jim Meyering Date: Mon, 24 Jan 2000 13:58:38 +0000 (+0000) Subject: (usage): Describe behavior when LINK_NAME is omitted. X-Git-Tag: FILEUTILS-4_0p~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06eee4e253915d3a53ecc44f85bc7fcf02d1bce2;p=platform%2Fupstream%2Fcoreutils.git (usage): Describe behavior when LINK_NAME is omitted. From Michael Stone. --- 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\