Express in the usage() and SYNOPSIS that -F depends on -s, and
that -f and -i are exclusive.
This commit is contained in:
parent
4a831eed37
commit
3371e72606
@ -41,11 +41,15 @@
|
|||||||
.Nd make links
|
.Nd make links
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl Ffhinsv
|
.Op Fl s Op Fl F
|
||||||
|
.Op Fl f | i
|
||||||
|
.Op Fl hnv
|
||||||
.Ar source_file
|
.Ar source_file
|
||||||
.Op Ar target_file
|
.Op Ar target_file
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl Ffhinsv
|
.Op Fl s Op Fl F
|
||||||
|
.Op Fl f | i
|
||||||
|
.Op Fl hnv
|
||||||
.Ar source_file ...
|
.Ar source_file ...
|
||||||
.Ar target_dir
|
.Ar target_dir
|
||||||
.Nm link
|
.Nm link
|
||||||
|
@ -254,8 +254,8 @@ void
|
|||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
(void)fprintf(stderr, "%s\n%s\n%s\n",
|
(void)fprintf(stderr, "%s\n%s\n%s\n",
|
||||||
"usage: ln [-Ffhinsv] source_file [target_file]",
|
"usage: ln [-s [-F]] [-f | -i] [-hnv] source_file [target_file]",
|
||||||
" ln [-Ffhinsv] source_file ... target_dir",
|
" ln [-s [-F]] [-f | -i] [-hnv] source_file ... target_dir",
|
||||||
" link source_file target_file");
|
" link source_file target_file");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user