summaryrefslogtreecommitdiff
path: root/bin/ln/ln.1
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-12-02 20:36:57 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-12-02 20:36:57 +0000
commita34f0b9990838d93085d02cd87ed14024aa8ffa9 (patch)
tree4d5f59678c98ca92555f14eb6293b56bd297a352 /bin/ln/ln.1
parentc765d33228533999fa93edb4ff5000c62ae9b41f (diff)
Make usage() and manual match. OK jmc, deraadt
Diffstat (limited to 'bin/ln/ln.1')
-rw-r--r--bin/ln/ln.122
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 5d29f9b9659..4e1c81132f7 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ln.1,v 1.21 2004/12/17 00:36:07 jaredy Exp $
+.\" $OpenBSD: ln.1,v 1.22 2005/12/02 20:36:56 cloder Exp $
.\" $NetBSD: ln.1,v 1.10 1995/07/25 19:37:04 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -42,12 +42,12 @@
.Sh SYNOPSIS
.Nm ln
.Op Fl fhns
-.Ar source_file
-.Op Ar target_file
+.Ar sourcefile
+.Op Ar targetfile
.Nm ln
.Op Fl fs
-.Ar source_file ...\&
-.Op Ar target_dir
+.Ar sourcefile ...\&
+.Op Ar targetdir
.Sh DESCRIPTION
The
.Nm
@@ -105,21 +105,21 @@ non-existent files.
Given one or two arguments,
.Nm
creates a link to an existing file
-.Ar source_file .
+.Ar sourcefile .
If
-.Ar target_file
+.Ar targetfile
is given, the link has that name;
-.Ar target_file
+.Ar targetfile
may also be a directory in which to place the link.
Otherwise, it is placed in the current directory.
If only the directory is specified, the link will be made
to the last component of
-.Ar source_file .
+.Ar sourcefile .
.Pp
Given more than two arguments,
.Nm
makes links in
-.Ar target_dir
+.Ar targetdir
to all the named source files.
The links made will have the same name as the files being linked to.
.Pp
@@ -198,7 +198,7 @@ utility appeared in
.At v3 .
.Sh CAVEATS
Since the
-.Ar source_file
+.Ar sourcefile
must have its link count incremented, a hard link cannot be created to a
file which is flagged immutable or append-only (see
.Xr chflags 1 ) .