1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00

Express in the usage() and SYNOPSIS that -F depends on -s, and

that -f and -i are exclusive.
This commit is contained in:
Ruslan Ermilov 2007-11-17 21:01:22 +00:00
parent cadf8ad71c
commit 8090694427
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173702
2 changed files with 8 additions and 4 deletions

View File

@ -41,11 +41,15 @@
.Nd make links
.Sh SYNOPSIS
.Nm
.Op Fl Ffhinsv
.Op Fl s Op Fl F
.Op Fl f | i
.Op Fl hnv
.Ar source_file
.Op Ar target_file
.Nm
.Op Fl Ffhinsv
.Op Fl s Op Fl F
.Op Fl f | i
.Op Fl hnv
.Ar source_file ...
.Ar target_dir
.Nm link

View File

@ -254,8 +254,8 @@ void
usage(void)
{
(void)fprintf(stderr, "%s\n%s\n%s\n",
"usage: ln [-Ffhinsv] source_file [target_file]",
" ln [-Ffhinsv] source_file ... target_dir",
"usage: ln [-s [-F]] [-f | -i] [-hnv] source_file [target_file]",
" ln [-s [-F]] [-f | -i] [-hnv] source_file ... target_dir",
" link source_file target_file");
exit(1);
}