summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-02-08 21:27:18 +0000
committerJim Meyering <jim@meyering.net>1998-02-08 21:27:18 +0000
commit519365bb089cf90bdc780c37292938f42019c7ea (patch)
treefa502e253cdb89f5e0cdd4ff36e0552201667e6c /src/ln.c
parentc1fc9dbe644d903df07e4a25d7f5516aa926a7da (diff)
downloadcoreutils-519365bb089cf90bdc780c37292938f42019c7ea.tar.xz
(usage): Reword to use `TARGET' and `LINK_NAME' in description.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c34
1 files changed, 18 insertions, 16 deletions
diff --git a/src/ln.c b/src/ln.c
index a9e9b965a..4de070b2d 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -326,26 +326,28 @@ usage (int status)
else
{
printf (_("\
-Usage: %s [OPTION]... SOURCE [DEST]\n\
- or: %s [OPTION]... SOURCE... DIRECTORY\n\
+Usage: %s [OPTION]... TARGET [LINK_NAME]\n\
+ or: %s [OPTION]... TARGET... DIRECTORY\n\
"),
program_name, program_name);
printf (_("\
-Link SOURCE to DEST (. by default), or multiple SOURCE(s) to DIRECTORY.\n\
-Makes hard links by default, symbolic links with -s.\n\
+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\
\n\
- -b, --backup make backups for removed files\n\
- -d, -F, --directory hard link directories (super-user only)\n\
- -f, --force remove existing destinations\n\
- -n, --no-dereference treat destination that is a symlink to a\n\
- directory as if it were a normal file\n\
- -i, --interactive prompt whether to remove destinations\n\
- -s, --symbolic make symbolic links instead of hard links\n\
- -S, --suffix=SUFFIX override the usual backup suffix\n\
- -v, --verbose print name of each file before linking\n\
- -V, --version-control=WORD override the usual version control\n\
- --help display this help and exit\n\
- --version output version information and exit\n\
+ -b, --backup make a backup of each existing destination file\n\
+ -d, -F, --directory hard link directories (super-user only)\n\
+ -f, --force remove existing destination files\n\
+ -n, --no-dereference treat destination that is a symlink to a\n\
+ directory as if it were a normal file\n\
+ -i, --interactive prompt whether to remove destinations\n\
+ -s, --symbolic make symbolic links instead of hard links\n\
+ -S, --suffix=SUFFIX override the usual backup suffix\n\
+ -v, --verbose print name of each file before linking\n\
+ -V, --version-control=WORD override the usual version control\n\
+ --help display this help and exit\n\
+ --version output version information and exit\n\
\n\
"));
printf (_("\