diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-08-14 08:48:55 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-08-14 08:48:55 +0000 |
commit | d7fdad4baaadb796547f330e9a668a1576c30db4 (patch) | |
tree | cca5a7e6e070de4bbd81a18a11baf37d335dbb7c /bin/ln/ln.1 | |
parent | b6a0e38086413b5b8471128a7d3c0f63e18ee841 (diff) | |
download | FreeBSD-src-d7fdad4baaadb796547f330e9a668a1576c30db4.zip FreeBSD-src-d7fdad4baaadb796547f330e9a668a1576c30db4.tar.gz |
Add the -i option, as found in rm(1), which provides an interactive
mode in which the user is prompted for confirmation before an
existing file is replaced.
Submitted by: alex
Diffstat (limited to 'bin/ln/ln.1')
-rw-r--r-- | bin/ln/ln.1 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1 index 89f4e5f..6120ae57 100644 --- a/bin/ln/ln.1 +++ b/bin/ln/ln.1 @@ -44,11 +44,11 @@ .Nd make links .Sh SYNOPSIS .Nm ln -.Op Fl fsv +.Op Fl fisv .Ar source_file .Op target_file .Nm ln -.Op Fl fsv +.Op Fl fisv .Ar source_file ... .Op target_dir .Nm link @@ -73,6 +73,18 @@ The options are as follows: .Bl -tag -width flag .It Fl f Unlink any already existing file, permitting the link to occur. +The +.Fl f +option overrides any previous +.Fl i +options. +.It Fl i +Request confirmation before attempting to replace already existing file. +The +.Fl i +option overrides any previous +.Fl f +options. .It Fl s Create a symbolic link. .It Fl v @@ -144,7 +156,9 @@ operation using the two passed arguments. .Sh COMPATIBILITY The .Fl v -option is non-standard and its use in scripts is not recommended. +and +.Fl i +options are non-standard and their use in scripts is not recommended. .Sh HISTORY An .Nm |